没有项目描述

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如何使用JNA创建同一库的多个实例?   java在将Graphql查询作为JSON字符串传递时收到意外的令牌错误   OAuth2 oltu的java问题   java桌面应用程序使用的好的嵌入式数据库是什么?   java Firebase数据库高级查询选项   java正在使磁盘上的EhCache元素过期   java 安卓还原处于backstack中的片段的实例状态   XMemcached中的java异步集   java TimescaleDB是否使用与Postgresql完全相同的JDBC驱动程序?   java从网站c读取信息#   检查java Android中的字符串是否只包含数字和空格   c#如何向web服务发送特殊字符?   grails无法调用需要java的方法。lang.类参数?   java我在组合框中调用的方法不会运行所有代码,它只运行部分代码   java发送带有标头的HTTP GET请求