Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bubfranks
    Junior Member
    • Aug 2010
    • 4

    #1

    CREST structural variation software error

    Hi all, I'm getting an error using CREST's example pipeline for structural variation detection

    Code:
    $CREST.pl -f tumor.bam.cover -d tumor.bam -g germline.bam --ref_genome \
            hg18.fa -t /genome/hg18.2bit -r chr1
    Use of uninitialized value $tid in array element at ./CREST.pl line 338.
    It's not obvious to me from the code how $tid failed to initialize, and my search for similar errors came up empty. Before I try to isolate the problem I thought I would raise the error here to see if anyone else has seen it before.

    Thanks!
  • bubfranks
    Junior Member
    • Aug 2010
    • 4

    #2
    Hm, perhaps the authors don't hang out here. I'll send a message directly. If I get a resolution I'll post here.

    Meanwhile, any CREST success stories?

    Comment

    • flipwell
      Member
      • Feb 2011
      • 14

      #3
      I have run it and got a few of those errors. It still completed though and I've compared the results with what I found with BreakDancer - didn't find anything new, BreakDancer picked up around 80% of CREST results and the others had been picked up by Freec. Best thing was the list was much shorter than BreakDancer, of the 30ish predictions only 2 look a bit dubious in the mappings

      Comment

      • bubfranks
        Junior Member
        • Aug 2010
        • 4

        #4
        Oh! the error I saw only occurred when I attempted to use the -r option. Without an -r parameter everything worked fine, cool.

        But! It only works for paired-end input in my hands. You're supposed to be able to use CREST in --nopaired mode, but when I attempt --nopaired mode extractSClip.pl gives me a torrent of errors like:
        Code:
        Use of uninitialized value $sdna in substr at /usr/local/lib64/perl5/Bio/DB/Bam/AlignWrapper.pm line 243.
        extractSClip does provide some output, in spite of the errors. But, when extractSClip's output is supplied to CREST.pl, CREST.pl returns a null file for xxx.predSV.txt and another mighty stream to STDERR.

        So, it seems my issue remains. Has anyone successfully used CREST for unpaired SV analysis?
        Last edited by bubfranks; 08-24-2011, 12:38 PM. Reason: punctuation

        Comment

        • bubfranks
          Junior Member
          • Aug 2010
          • 4

          #5
          hm, so it turned out that I misinterpreted the instructions. CREST instructions clearly state you need to use the same genome file in the CREST pipeline as you used in the initial mapping, but I took that to mean it was OK as long as the assemblies were the same. After using the exact same hg18.fasta file in BWA and CREST then the program started to work for me.

          Comment

          • aquinom85
            Research Bioinformaticist
            • Dec 2011
            • 19

            #6
            I'm trying as well but getting a different error than you, regarding the BLAT server.

            /Crest$ CREST.pl -f tumor.bam.cover -d tumor.bam -g germline.bam --ref_genome /home/aquinom/hg18.fa -t /home/aquinom/hg18.2bit --2bitdir /home/aquinom
            Replacement list is longer than search list at /usr/local/share/perl/5.12.4/Bio/Range.pm line 251.
            4 125893227 + 5
            getaddrinfo() error on hostName=sjblat: No address associated with hostname

            Connection timed out
            Sorry, the BLAT/iPCR server seems to be down. Please try again later.
            10 66301865 - 9
            getaddrinfo() error on hostName=sjblat: No address associated with hostname

            Connection timed out
            Sorry, the BLAT/iPCR server seems to be down. Please try again later.
            10 66301858 + 4
            getaddrinfo() error on hostName=sjblat: No address associated with hostname

            Connection timed out


            I have gfServer running with the command: gfServer start localhost 3503 ~/hg18.2bit
            and tested that it works using gfClient. Anyone know what I need to change to get this working?

            Comment

            • aquinom85
              Research Bioinformaticist
              • Dec 2011
              • 19

              #7
              Fixed issue, had to change the hardcoded values in the perl script.

              Comment

              • shruti
                Member
                • Mar 2010
                • 35

                #8
                Hi,
                I am trying to use the new version of CREST program, CREST1-0-1. But I'm having some difficulties, I have tried to do some changes and managed to eliminate some of the errors.

                Let me know if anyone is having the same issues..

                1. on line 539 "my ($rs, $re) = ($m>0 ? $a->[$m-1][0] : $a->[0][0], $m<scalar(@{$a})-1 ? $a->[$m+1][0] : $a->[-1][0];" , the program was giving error for $m, as it was not declared
                below is the subroutine

                sub bin_search {
                my ($a, $p) = @_;
                my ($s, $e) = (0, scalar(@{$a})-1);
                # my $m = int( ($s + $e)/2);
                while(1) {
                return $s if($a->[$s][0] >= $p);
                return $e if($a->[$e][0] <= $p);
                # return $m if($a->[$m][0] == $p || ($a->[$m-1][0] < $p && $a->[$m+1][0] > $p));
                my ($rs, $re) = ($m>0 ? $a->[$m-1][0] : $a->[0][0], $m<scalar(@{$a})-1 ? $a->[$m+1][0] : $a->[-1][0];
                return $m if($a->[$m][0] == $p || ($rs < $p && $re > $p));

                if($a->[$m][0] > $p) {
                $e = $m;
                }
                else {
                $s = $m;
                }
                $m = int( ($s+$e)/2 );
                }
                }
                I had then uncommented the line 534 "my $m = int( ($s + $e)/2);"

                2. After this I got another error in the line 539 "my ($rs, $re) = ($m>0 ? $a->[$m-1][0] : $a->[0][0], $m<scalar(@{$a})-1 ? $a->[$m+1][0] : $a->[-1][0];" , syntax error at ];"
                I then added a ) at the end and changed it to my ($rs, $re) = ($m>0 ? $a->[$m-1][0] : $a->[0][0], $m<scalar(@{$a})-1 ? $a->[$m+1][0] : $a->[-1][0];" , syntax error at ]);

                3. The program now seems to work, but I'm getting another error which I'm not able to understand
                Can't open /tmp/150008.1.all.q/DmcqZ93HGj/Q4KaHbp14u.fa.cap.ace:No such file or directory at /home/ssinha/sw/CREST1-0-1/CREST.pl line 595

                Reading through the code I didn't understand where to change for the tmp folder

                Comment

                • tahamasoodi
                  Success
                  • May 2012
                  • 130

                  #9
                  Hi Shruti,

                  I'm also facing the same error. Did you solve this error, please let me know.

                  can't open /tmp/aPNssgMFN0/QARvoJZlvh.fa.cap.contigs.clip.fa.psl.sorted:No such file or directory at ./CREST.pl line 606
                  Thanks,

                  Comment

                  • shruti
                    Member
                    • Mar 2010
                    • 35

                    #10
                    Yes I managed to run it.. this was to do with some permission problem.
                    so I changed the path of the output to a location where I have full permission.

                    Comment

                    • dakin
                      Junior Member
                      • Dec 2009
                      • 3

                      #11
                      I'm also getting a similar error message when running CREST.pl:

                      Can't open /tmp/7iYXT0zlo_/e9TZ74LVc9.fa.cap.ace:No such file or directory at /crest/1.0/bin/CREST.pl line 593.

                      Update: It is running now that our gfServer is running and as long as I use the exact same path to start BLAT server on the .2bit file as I then use to return the prompt and start CREST.pl, similar to what other users report.
                      Last edited by dakin; 07-08-2013, 10:39 AM. Reason: working now

                      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
                      16 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, Yesterday, 10:48 AM
                      0 responses
                      17 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-15-2026, 10:52 AM
                      0 responses
                      35 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...