{"id":7704,"date":"2015-05-11T10:55:37","date_gmt":"2015-05-11T08:55:37","guid":{"rendered":"http:\/\/www.ehu.eus\/sgi\/?p=7704"},"modified":"2015-05-11T10:55:37","modified_gmt":"2015-05-11T08:55:37","slug":"samtools-bcftools-and-htslib-1-2","status":"publish","type":"post","link":"https:\/\/www.ehu.eus\/sgi\/scientific-software\/samtools-bcftools-and-htslib-1-2","title":{"rendered":"SAMtools, BCFtools and HTSlib 1.2"},"content":{"rendered":"<h1>General Information<\/h1>\n<p>Samtools is a suite of programs for interacting with high-throughput sequencing data. It consists of three separate repositories:<\/p>\n<p>Samtools<br \/>\nReading\/writing\/editing\/indexing\/viewing SAM\/BAM\/CRAM format<br \/>\nBCFtools<br \/>\nReading\/writing BCF2\/VCF\/gVCF files and calling\/filtering\/summarising SNP and short indel sequence variants<br \/>\nHTSlib<br \/>\nA C library for reading\/writing high-throughput sequencing data<br \/>\nSamtools and BCFtools both use HTSlib internally, but these source packages contain their own copies of htslib so they can be built independently.<\/p>\n<p>&nbsp;<\/p>\n<h1>How to use It<\/h1>\n<p>They are installed in\u00a0<code>\/software\/samtools-1.2\/<\/code>,\u00a0<code>\/software\/bcftools-1.2\/<\/code> and\u00a0 <code>\/software\/htslib-1.2.1<\/code> respectibely.<\/p>\n<p>Something like this should be added in the PBS script.<\/p>\n<blockquote><p>export PATH=\/software\/samtools-1.2\/bin:\/software\/bcftools-1.2\/bin:$PATH<\/p>\n<p>export\u00a0LD_LIBRARY_PATH=\/software\/htslib-1.2.1\/lib:$LD_LIBRARY_PATH<\/p>\n<p>&nbsp;<\/p><\/blockquote>\n<h1>More Information<\/h1>\n<p><a title=\"http:\/\/www.htslib.org\/\" href=\"http:\/\/www.htslib.org\/\">http:\/\/www.htslib.org\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>General Information Samtools is a suite of programs for interacting with high-throughput sequencing data. It consists of three separate repositories: Samtools Reading\/writing\/editing\/indexing\/viewing SAM\/BAM\/CRAM format BCFtools Reading\/writing BCF2\/VCF\/gVCF files and calling\/filtering\/summarising SNP and short indel sequence variants HTSlib A C library for reading\/writing high-throughput sequencing data Samtools and BCFtools both use HTSlib internally, but these source &hellip; <a href=\"https:\/\/www.ehu.eus\/sgi\/scientific-software\/samtools-bcftools-and-htslib-1-2\" class=\"more-link\">Seguir leyendo <span class=\"screen-reader-text\">SAMtools, BCFtools and HTSlib 1.2<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_links_to":"","_links_to_target":""},"categories":[239,196,216],"tags":[],"_links":{"self":[{"href":"https:\/\/www.ehu.eus\/sgi\/wp-json\/wp\/v2\/posts\/7704"}],"collection":[{"href":"https:\/\/www.ehu.eus\/sgi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ehu.eus\/sgi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ehu.eus\/sgi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ehu.eus\/sgi\/wp-json\/wp\/v2\/comments?post=7704"}],"version-history":[{"count":1,"href":"https:\/\/www.ehu.eus\/sgi\/wp-json\/wp\/v2\/posts\/7704\/revisions"}],"predecessor-version":[{"id":7708,"href":"https:\/\/www.ehu.eus\/sgi\/wp-json\/wp\/v2\/posts\/7704\/revisions\/7708"}],"wp:attachment":[{"href":"https:\/\/www.ehu.eus\/sgi\/wp-json\/wp\/v2\/media?parent=7704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ehu.eus\/sgi\/wp-json\/wp\/v2\/categories?post=7704"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ehu.eus\/sgi\/wp-json\/wp\/v2\/tags?post=7704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}