没有项目描述

FastaIndex的Python项目详细描述


fasta索引(.fai)处理程序与samtools faidx兼容。 .fai扩展为4列,存储每个序列的a、c、g&t计数。

用法

依赖性

  • python 2.7版

参数

-h, --helpshow this help message and exit
--versionshow program’s version number and exit
-v, --verboseverbose
-i FASTA, --fasta FASTA
FASTA file(s)
-o OUT, --out OUT
output stream [stdout]
-r REGIONS, --regions REGIONS
contig(s) or contig region(s) to output (returns reverse complement if end larger than start)
-N Ncalculate NXX and exit ie N50
-L Lcalculate LXX and exit ie L50
-S, --statsreturn FastA stats aka fasta_stats

示例

# retrieve sequence of scaffold00001 starting at 100 and ending at 200 base (0-based)
FastaIndex -i contigs.fa -r 'scaffold00001:100-200'# retrieve reverse complement of the same region
FastaIndex -i contigs.fa -r 'scaffold00001:200-100'# calculate N50 of FastA file
FastaIndex -i contigs.fa -N50

# more statistics of FastA file
FastaIndex -i contigs.fa -S
# or
fasta_stats -i contigs.fa

安装

sudo pip install -U FastaIndex

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java JPanel不会对键绑定做出反应   当时间大于零时,不得在UI线程上调用java Await   JTextArea的java线程安全。追加   Java用户输入的字和行计数器   java以spreedsheat格式将数据保存到文件中   java构造函数的意义是什么?   java findViewById返回null,尽管组件的ID存在   java如何向按钮添加图像   java如何中断ExecutorService的线程   java如何将属性(例如枚举)绑定到不同类型的组件属性(例如每个枚举的映像)?   随机森林分类器的java实现   html使用java连接到一个站点并发布,HTTP状态代码200   从类访问属性时发生java编译错误   Java自动填充ArrayList,搜索更好的选项