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
            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
          • SEQadmin2
            New Genomics Technologies Take Aim at Long-Standing Limits
            by SEQadmin2


            Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

            We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
            ...
            09-28-2026, 10:25 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 11:13 AM
          0 responses
          17 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, Yesterday, 10:48 AM
          0 responses
          18 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          36 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          42 views
          0 reactions
          Last Post SEQadmin2  
          Working...