Unconfigured Ad

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

    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

                      • mylaser
                        Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                        by mylaser
                        Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                        If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                        This guide explains everything you need to know about...
                        Today, 01:13 AM
                      • 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

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by SEQadmin2, 07-09-2026, 10:04 AM
                      0 responses
                      15 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-08-2026, 10:08 AM
                      0 responses
                      10 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-07-2026, 11:05 AM
                      0 responses
                      22 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-02-2026, 11:08 AM
                      0 responses
                      31 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...