Unconfigured Ad

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

    #1

    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
            16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by SEQadmin2




            NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
            Today, 06:46 AM
          • SEQadmin2
            Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
            by SEQadmin2



            Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

            Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
            ...
            10-14-2026, 09:55 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 10-28-2026, 09:57 AM
          0 responses
          22 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-28-2026, 09:51 AM
          0 responses
          14 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 11:13 AM
          0 responses
          67 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          47 views
          0 reactions
          Last Post SEQadmin2  
          Working...