Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • gaffa
    Member
    • Oct 2010
    • 82

    Dindel giving error for every candidate indel

    I'm running Dindel 1.01 on bam files produced by BWA and Stampy, looking for small indels. All the steps run to completion but every candidate indel encounters an error, so the final vcf file is completely empty. The errors are the following (output from cat *.glf.txt | grep "chr" | cut -d " " -f 1 | sort | uniq -c):

    Code:
         14 error_above_read_count_threshold
          3 error_Cannot_find_reference_sequence.
        598 error_too_few_reads
    These proportions are typical of all runs I do - "error_too_few_reads" is dominating, though I highly doubt that there are actually too few reads - my coverage is ~25x, and through samtools pileup and manual inspection I know that there are plenty of indels that are well covered.

    When I run the "getCIGARindels" step, I get some alarming messages printed to stdout:
    Code:
    Parsing indels from CIGAR strings...
    Wrote indels in CIGARS for target chr1 to file candidate_dindels
    Wrote indels in CIGARS for target chr2 to file candidate_dindels
    error: faidx error, len==0
    start: -24 end: 
    error: faidx error, len==0
    start: -11 end:
    I get about ~20 of these "faidx error" in a typical run (though not for every chromosome). I can't find anything wrong with my reference genome file or it's index file (indexed using samtools faidx - appended at end of post). I don't know if these errors are related to the above ones.

    My commands (running on 64bit Ubuntu):
    Code:
    dindel-1.01-linux-64bit --analysis getCIGARindels --bamFile input.bam --outputFile candidate_dindels --ref ref_genome.fasta
    
    python makeWindows.py --inputVarFile candidate_dindels.variants.txt --windowFilePrefix realign_windows --numWindowsPerFile 2000
    
    dindel-1.01-linux-64bit --analysis indels --bamFile input.bam --ref ref_genome.fasta --libFile candidate_dindels.libraries.txt --varFile $infile --outputFile $outfile
    My fasta.fai file:
    Code:
    chr1	230208	6	100	101
    chr2	813178	232523	100	101
    chr3	316617	1053839	100	101
    chr4	1531919	1373629	100	101
    chr5	576869	2920874	100	101
    chr6	270148	3503518	100	101
    chr7	1090947	3776374	100	101
    chr8	562643	4878237	100	101
    chr9	439885	5446513	100	101
    chr10	745741	5890804	100	101
    chr11	666454	6644010	100	101
    chr12	1078175	7317136	100	101
    chr13	924429	8406100	100	101
    chr14	784334	9339781	100	101
    chr15	1091289	10131966	100	101
    chr16	948062	11234175	100	101
    chr17	85779	12191725	100	101
    chr18	6318	12278369	100	101
  • druano
    Junior Member
    • Mar 2010
    • 1

    #2
    Hi,
    I have exactly the same problem.
    Did you ever figure out what the problem was?

    Comment

    • gaffa
      Member
      • Oct 2010
      • 82

      #3
      Yes in fact - Kees Albers has confirmed that this is caused by the omission of the --doDiploid (or --doPooled) flag. I left the --doDiploid flag out because I ran Dindel on haploid samples, but that will not work. You need one of the two "--do*" flags. Might it be your case too that you are not specifying this flag?

      Also the faidx errors are apparently nothing to worry about.

      Comment

      • colindaven
        Senior Member
        • Oct 2008
        • 417

        #4
        Interesting. Thanks for that. Now why is it Dindel doesn't seem to have a mode for haploid samples ?

        Comment

        • gaffa
          Member
          • Oct 2010
          • 82

          #5
          Originally posted by colindaven View Post
          Interesting. Thanks for that. Now why is it Dindel doesn't seem to have a mode for haploid samples ?
          Well, it is common for software in the NGS field to not support haploid samples. In earlier versions of Dindel there was a "force homozygous" option, but not anymore.

          However, what I do is to run Dindel in pooled mode, and then use the "makeGenotypeLikelihoodFilePooled.py" script that comes with the program. This script prints a file with the likelihoods for homozygous ref/ref, heterozygous ref/alt and homozygous ref/ref - grabbing only the two homozygous likelihoods (ignoring the heterozygous likelihood) from this file allows me to force homozygosity (though then I have to compute some measure of confidence myself, e.g. a likelihood ratio or a posterior probability).

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Cancer Drug Resistance: The Lingering Barrier to Rising Survival
            by SEQadmin2



            Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

            There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
            Today, 05:17 AM
          • GATTACAT
            Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by GATTACAT
            Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
            07-01-2026, 11:43 AM
          • SEQadmin2
            Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by SEQadmin2


            I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

            Here are nine questions we think about, in roughly the order they matter, before...
            06-18-2026, 07:11 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 11:05 AM
          0 responses
          7 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-02-2026, 11:08 AM
          0 responses
          29 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-30-2026, 05:37 AM
          0 responses
          28 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-26-2026, 11:10 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Working...