Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • libiyagirl
    Member
    • Jan 2011
    • 27

    #1

    another stupid question about dindel

    Hello, I'm running the stage 3 of dindel now. On stage 2 it generated hundreds realign_window.n.txt files. Does it mean I have to run all of them on stage 3 to get hundreds of the output_windows.glf.txt files?

    Also when I merge the files on stage 4, it says warning: file msg does not exist! what does this mean?
    Thank you!
  • gaffa
    Member
    • Oct 2010
    • 82

    #2
    That's correct, you run "dindel --analysis indels" once for each file (if you know a bit of shell-scripting you can easily automate this), and it generates one output file per input file.

    Regarding stage 4, see this thread for some discussion: http://seqanswers.com/forums/showthread.php?t=8301

    Comment

    • libiyagirl
      Member
      • Jan 2011
      • 27

      #3
      hi gaffa,

      thank you very much for your reply. however, regarding stage 4, the problem is still not solved. so I created a file run1_outputfiles.txt, with the following lines:

      /path/sample_output_windows.1.glf.txt
      /path/sample_output_windows.2.glf.txt
      /path/sample_output_windows.3.glf.txt
      .......

      Then in unix, I typed
      python mergeOutputDiploid.py --inputFiles /path/run1_outputfiles.txt \--outputFile variantCalls.VCF --ref /path/ref.fa

      but it is telling me File /path/sample_output_windows.1.glf.txt does not exit.
      .Aborting.
      An error occurred!

      I'm so confused. Did I miss anything?

      Thank you so much for your help!

      Comment

      • libiyagirl
        Member
        • Jan 2011
        • 27

        #4
        Hello, problem solved! It was funny because I basically typed the same thing! But this time it's working. Big thanks!

        Comment

        • colindaven
          Senior Member
          • Oct 2008
          • 417

          #5
          Automating dindel stage 3

          If it s helpful to any non-coders, I wrote a mini perl script to batch analyse all the windows.
          Just change the number of windows to reflect the number you made. You'll need to change the file names etc in the command line too of course.

          Code:
          #!/usr/bin/perl
          
          $i = 1;
          $no_of_windows = 44;
          
          while ($i <= $no_of_windows) {
          	
          	`dindel-1.01-linux-64bit --analysis indels --doDiploid --bamFile ../TB_stampy_sorted.bam --ref NC_002516.fa --varFile windows/TB.realign_windows.$i.txt --libFile TB.dindel.libraries.txt --outputFile TB.realign_output.windows.$i.txt`;
          	$i = $i + 1;
          }
          Last edited by colindaven; 03-10-2011, 04:29 AM.

          Comment

          • clarissaboschi
            Member
            • Apr 2010
            • 63

            #6
            Hi! I was trying to use your perl script but did not work. I am not vey good in perl, so could be my mistake. But I changed the file names and the number of windows, which in my case is 78.
            I had the error message

            Global symbol "$i" requires explicit package name at dindel.pl line 4.
            Global symbol "$no_of_windows" requires explicit package name at dindel.pl line 5.
            Global symbol "$i" requires explicit package name at dindel.pl line 7.
            Global symbol "$no_of_windows" requires explicit package name at dindel.pl line 7.
            Global symbol "$i" requires explicit package name at dindel.pl line 9.
            Global symbol "$i" requires explicit package name at dindel.pl line 9.
            Global symbol "$i" requires explicit package name at dindel.pl line 10.
            Global symbol "$i" requires explicit package name at dindel.pl line 10.
            Execution of dindel.pl aborted due to compilation errors.

            What could be the error?
            Thanks

            Comment

            • colindaven
              Senior Member
              • Oct 2008
              • 417

              #7
              Hi Clarissa,

              I wouldn't recommend Dindel at all, we did not get anything out of it at all.

              But if you want to keep trying, it seems your perl installation requires strictly defined variables by default.

              Try this
              my($i) = 1;
              my($no_of_windows) = 44;

              Comment

              • clarissaboschi
                Member
                • Apr 2010
                • 63

                #8
                Thanks, I changed the script and it is working now.
                But why do you not recommend Dindel??
                I trying to identify indels, and I used before Samtools/mpileup, but some people say that Dindel is better, so I am currently running some analysis to see the differences with Samtools.

                Thanks

                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, 10-22-2026, 11:13 AM
                0 responses
                23 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-22-2026, 10:48 AM
                0 responses
                20 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...