Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • bbmap callvariants.sh multisample vcf format, wrong number of fields

    Trying to use BBMap callvariants on multiple samples. The resulting VCF does not have the sample names and yields an error with any vcf tools:

    Code:
    vcf-validator tmp.vcf 
    Wrong number of fieldsin tmp.vcf; expected 15, got 16. The offending line was: [... the first line of variants]
    The VCF:
    Code:
    #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  FORMAT  FORMAT  FORMAT  FORMAT  FORMAT  FORMAT
    BBMap command:
    Code:
    callvariants.sh multisample=t list=SamList out=tmp.vcf ref=genome.fa 
    #ive also tried using the output command, no change
    callvariants.sh multisample=t list=SamList out=tmp.vcf ref=genome.fa vcf0=S1,S2,S3,S4,S5,S5
    #As well as each sample using the "in" command
    callvariants.sh multisample=t in=S1.sam,S2.sam,S3.sam,S4.sam,S5.sam,S6.sam out=tmp.vcf ref=genome.fa overwrite=t vcf0=AO,GG,OG,SF,TH,Tum
    I think BBMap could be a very powerful set of tools and I am expecting I am missing something pretty basic!

  • #2
    Hi Greg,

    Sorry about that, there was a bug that slipped in around v37.87 with regards to multisample VCF names. It's fixed in v37.96 which I will release this week.

    -Brian

    Comment


    • #3
      Okay cool, thanks for the quick response!

      Comment


      • #4
        Same error here: downloaded BBMap 2 weeks ago, finishing my snp calling pipeline today, same problem and discovering the patch went out 10 days ago...

        Thx for the fix

        Comment


        • #5
          Oh, yep - it's fixed now, sorry for not mentioning that!

          Comment


          • #6
            I have another problem: when using vcf0=, followed by files locations separated by comma, callvariants.sh create subdirectory instead of just creating files at specified location.

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Recent Advances in Sequencing Analysis Tools
              by seqadmin


              The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
              Today, 07:48 AM
            • seqadmin
              Essential Discoveries and Tools in Epitranscriptomics
              by seqadmin




              The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
              04-22-2024, 07:01 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Today, 07:17 AM
            0 responses
            3 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-02-2024, 08:06 AM
            0 responses
            19 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-30-2024, 12:17 PM
            0 responses
            20 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-29-2024, 10:49 AM
            0 responses
            28 views
            0 likes
            Last Post seqadmin  
            Working...
            X