Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • slowsmile
    Member
    • May 2011
    • 22

    dindel how to merge library files in pooled setting

    Dear all
    I am new to dindel and I tried to call indels from a pool of bam files. I followed their manual, which ran smoothly until step 3 when I used the --bamFiles option to analyze all bamfiles together.

    Then I don't know which library file should I feed in (in first step, it produces a library file for each bam file). Then I merged the library lifes by row and fed into step 3, only to see errors:

    Storing library: unknown
    Error: libName: unknown
    Duplicate library IDs.
    Exception: Library error
    can any one tell me how to produce merged library files for multiple bam files?

    Thanks a lot
  • deyler
    Member
    • Sep 2013
    • 20

    #2
    duplicate library ID error in Dindel

    While your need may be over, I'm going to post the solution as a reference for the community.

    When Dindel reads bam files, it looks in the @RG lines for a library name, specfied with the LB: tag according to sam spec. If it's not there, it uses 'unknown' or 'dindel_default.' See Read.hpp in the dindel directory.

    You'll find the library name in the header line of the foo.libraries.txt file generated by dindel getCIGARindels.
    Code:
    #LIB     dindel_default
    If you run the pooled analysis, it wants all your libraries.txt files to have different library names (because you did pooled sequencing of several different libraries).

    To solve this, either
    1) edit the *.libraries.txt files to have unique library names in their header lines, or
    2) edit your bamfiles to have unique LB: entries in the @RG line. You can do this with the samtools reheader tool.

    Comment

    • sandipkale
      Junior Member
      • Oct 2010
      • 2

      #3
      Hello All,

      I am running Dindel on 100 samples. I have completed all the steps upto genotype likelihood calling and got the glf file. However, I need results in vcf/hapmap format.
      Could you please help me in converting glf to vcf/hapmap format?

      Thank you very much in advance

      Sandip

      Comment

      • deyler
        Member
        • Sep 2013
        • 20

        #4
        perhaps a python script

        My recollection is that there are some python scripts that come with Dindel that you can use to convert between file formats. Unfortunately, I can't provide more information because I did not use Dindel in my finished pipeline.

        Comment

        • sandipkale
          Junior Member
          • Oct 2010
          • 2

          #5
          Hello Dr. deyler,

          Thank you very much for reply. I checked the dindel manual. There are four helper scripts. We can use mergeout*.py script for getting VCF, however, as the glf output I got using makegenotype*.py is in different format, the above scripts can't be used.

          I also called Indels separately and would like to merge the vcf files. Is there any way to merge the vcf files other than vcf-merge?

          Thank you in advance

          With best regards

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by SEQadmin2



            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
            ...
            07-09-2026, 11:10 AM
          • 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...
            07-08-2026, 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

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 10:26 AM
          0 responses
          11 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-09-2026, 10:04 AM
          0 responses
          25 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-08-2026, 10:08 AM
          0 responses
          16 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-07-2026, 11:05 AM
          0 responses
          33 views
          0 reactions
          Last Post SEQadmin2  
          Working...