这篇文章主要为大家展示了“bedtools如何统计序列中碱基含量”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“bedtools如何统计序列中碱基含量”这篇文章吧。
bedtools统计序列中碱基含量
bedtools软件中的nuc函数工具可以统计序列碱基含量,其具体用法如下:
Tool: bedtools nuc (aka nucBed) Version: v2.25.0 Summary: Profiles the nucleotide content of intervals in a fasta file. Usage: bedtools nuc [OPTIONS] -fi <fasta> -bed <bed/gff/vcf> Options: -fi Input FASTA file -bed BED/GFF/VCF file of ranges to extract from -fi -s Profile the sequence according to strand. -seq Print the extracted sequence -pattern Report the number of times a user-defined sequence is observed (case-sensitive). -C Ignore case when matching -pattern. By defaulty, case matters. -fullHeader Use full fasta header. - By default, only the word before the first space or tab is used. Output format: The following information will be reported after each BED entry: 1) %AT content 2) %GC content 3) Number of As observed 4) Number of Cs observed 5) Number of Gs observed 6) Number of Ts observed 7) Number of Ns observed 8) Number of other bases observed 9) The length of the explored sequence/interval. 10) The seq. extracted from the FASTA file. (opt., if -seq is used) 11) The number of times a user's pattern was observed. (opt., if -pattern is used.)
示例如下:
bed文件:
CM004359.1 0 10 CM004359.1 100 200 CM004359.1 1000 1050
运行命令:
$bedtools nuc -fi GCA_001651475.1_Ler_Assembly_genomic.fna -bed id.bed #1_usercol 2_usercol 3_usercol 4_pct_at 5_pct_gc 6_num_A 7_num_C 8_num_G 9_num_T 10_num_N 11_num_oth 12_seq_len CM004359.1 0 10 0.600000 0.400000 1 0 4 5 0 0 10 CM004359.1 100 200 0.580000 0.420000 14 0 42 44 0 0 100 CM004359.1 1000 1050 0.660000 0.340000 10 3 14 23 0 0 50
以上是“bedtools如何统计序列中碱基含量”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注亿速云行业资讯频道!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。