Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • flobpf
    Member
    • Apr 2010
    • 76

    #1

    CEGMA error

    Hi,

    I've been trying to run CEGMA on my 280MB genome. It does run fine on all other genomes I've got, but it refuses to run on my genome. It keeps giving the following error:
    Code:
    RUNNING: local_map -n local -f -h /opt/cus/CEGMA/2.3--GCC-4.1.2/data/hmm_profile
    s -i KOG -v  genome.chunks.fa 2>sample.cegma.errors
    FATAL ERROR! 6400: "No such file or directory"
    
    In sample.cegma.errors
    Warning Error
            In GeneLoop6 matrix special read off - out of bounds on matrix [i,j
    is 193,-1 state 0 in standard matrix]
    Warning Error
            Problem - hit bad read off system, exiting now
    Can't use an undefined value as an ARRAY reference at /opt/cus/CEGMA/2.3--GCC-4.
    1.2/bin/parsewise line 217.
    Can't run parsewise
    It is weird that this problem occurs with only my genome. I've tried removing all the non-canonical characters and changing all masked sequences to upper case. However, it does not work.

    I wonder if anyone has encountered anything like this? If yes, how did you solve it, if at all?

    Thanks
  • pengchy
    Senior Member
    • Feb 2009
    • 116

    #2
    CEGMA Errors. GitHub Gist: instantly share code, notes, and snippets.

    Comment

    • flobpf
      Member
      • Apr 2010
      • 76

      #3
      Actually, CEGMA's most recent version did just fine. My problem was resolved thanks to the deft bug-fixing by the CEGMA group.

      Comment

      • xushengxun
        Junior Member
        • Apr 2014
        • 1

        #4
        Problem when using CEGMA

        Originally posted by flobpf View Post
        Actually, CEGMA's most recent version did just fine. My problem was resolved thanks to the deft bug-fixing by the CEGMA group.
        Hi flobpf,
        I encountered the same problem as you when using CEGMA. The error is as follows:

        Warning Error
        Major problem (!) - in GeneLoop6 matrix to special read off, position
        0,0 state 0 no source found!
        Warning Error
        In GeneLoop6 read off ending at 0 ... got a bad matrix to special
        read off... returning partial alignment
        Can't use an undefined value as an ARRAY reference at /state/partition1/home/xuchao/software/cegma_v2.3.190711/bin/parsewise line 217.
        Can't run parsewise

        You seem to have solved this problem! Could you tell me how?

        Comment

        • AdrianP
          Senior Member
          • Apr 2011
          • 130

          #5
          Originally posted by flobpf View Post
          Actually, CEGMA's most recent version did just fine. My problem was resolved thanks to the deft bug-fixing by the CEGMA group.
          Bold is solution.

          Comment

          • aliceb
            Member
            • Jan 2010
            • 18

            #6
            Hi all,

            This is an old thread, but I'm getting a similar error with CEGMA v2.5. It's not happening all the time - I ran the test data just fine, the test proteins against my data ok, and my data against the Anopholes data ok. But my data against the Core proteins (instead of the 248 Anopholes ones) crashes.

            Is anyone else having this problem?

            Here are the last few lines:
            ********************************************************************************
            ** ACCURATE LOCAL MAPPING **
            ********************************************************************************

            RUNNING: local_map -n local_self -g local.genewise.gff -d geneid_params/self.param -h /media/data/programs/CEGMA_v2.5/data/hmm_profiles -i KOG genome.chunks.fa 2>../annot_core/annot_core.cegma.errors
            NOTE: Will use specifed local.genewise.gff file instead of running genewise
            FATAL ERROR when running local map 6400: "No such file or directory"

            Ending CEGMA

            #############
            Thanks,
            Alice
            Last edited by aliceb; 09-08-2014, 01:33 AM. Reason: update error message

            Comment

            • kbradnam
              Member
              • May 2011
              • 54

              #7
              Does the output before this stage imply that you have no core genes? I.e. sometimes when you run CEGMA, the initial BLAST step might only find a small number of core genes. Each successive filtering step of CEGMA typically throws out more candidate core genes and you can end up with none at all. Some of the code might not handle this gracefully.

              Comment

              • aliceb
                Member
                • Jan 2010
                • 18

                #8
                Yes, I did think of that. But I have now been able to get 99% hits on a dataset that crashes against the Anopholes core genes. It seems like there should be some hits there (I am working with a wasp)....

                I have continued to play my two (fasta, nucleotide) datasets and have managed to successfully run one against the core genes and the other against the Anopholes core genes. This is good enough for now, but a bit frustrating as I wanted to compare them....

                If anyone comes across this and has a solution, it would still be useful for me in the future (and perhaps other people hitting this snag)

                Comment

                • timothylaurent
                  Junior Member
                  • Jan 2012
                  • 4

                  #9
                  crashing on 2.5

                  I have Cegma 2.5 freshly installed and I am getting similar errors:


                  Would love to be able to run the software....


                  ********************************************************************************
                  ** MAKING INITIAL GENE PREDICTIONS FOR CORE GENES (GENEWISE + GENEID) **
                  ********************************************************************************

                  RUNNING: local_map -n local -f -h /build/CEGMA_v2.5/data/hmm_profiles -i KOG genome.chunks.fa 2>/out/S376-cegma.cegma.errors
                  FATAL ERROR when running local map 6400: "No such file or directory"

                  Ending CEGMA




                  In my .cegma.errors file it says this:

                  Warning Error
                  Unable to open gene.stat as gene stats file
                  Warning Error
                  Could not read gene statistics in gene.stat
                  Warning Error
                  Could not open BLOSUM62.bla as a filename for read Blast matrix
                  Warning Error
                  Could not open file codon.table as codon table file
                  Warning Error
                  Could not read codon table file in codon.table
                  Fatal Error
                  Could not build objects!
                  Can't run genewise -splice_gtag -quiet -gff -pretty -alb -hmmer /build/CEGMA_v2.5/data/hmm_profiles/KOG0002.hmm /tmp/genomic18349.fa > /tmp/genewise18349

                  Comment

                  • timothylaurent
                    Junior Member
                    • Jan 2012
                    • 4

                    #10
                    memo to self -- RTFFAQ


                    The FAQ talks about this being due to a

                    genewise ocnfig being installed incorrectly.

                    I installed wise on an ubuntu container with apt-get

                    this should fix the problem in my running container:

                    export WISECONFIGDIR=/usr/share/wise

                    and this should fix it in my Dockerfile:

                    ENV WISECONFIGDIR /usr/share/wise




                    Maybe this is the root of some of the other problems.

                    Comment

                    • kbradnam
                      Member
                      • May 2011
                      • 54

                      #11
                      As time marches along, there will only ever be more problems like this because CEGMA has been locked in development using some older versions of tools. As people install newer versions of things like HMMER and genewise (well, maybe that's not a tool that will be updated much either), things are likely to break.

                      If we ever get new funding, we have many plans for a completely new version of CEGMA, but without money we can't spend any more time on it unfortunately.

                      Regards,

                      Keith

                      Comment

                      • timothylaurent
                        Junior Member
                        • Jan 2012
                        • 4

                        #12
                        So the environment variable didn't help with the problem . ( although the command would run if I put it on the command line ).


                        Luckily the docker container approach comes configured. Don't waste time trying to get this installed on your system... just use the docker container -- then it is just a 1 liner

                        Comment

                        • colindaven
                          Senior Member
                          • Oct 2008
                          • 417

                          #13
                          The VM works well too, haven't tried the docker container yet.

                          One word on whole genomes - every contig or scaffold set has been fine so far, but running it on whole genomes with long chromosomes has failed repeatedly.

                          Should long chromosomes be split into arbitrary scaffolds ?

                          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
                          30 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 10-22-2026, 10:48 AM
                          0 responses
                          22 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 10-15-2026, 10:52 AM
                          0 responses
                          39 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 10-14-2026, 05:39 AM
                          0 responses
                          45 views
                          0 reactions
                          Last Post SEQadmin2  
                          Working...