Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Llopis
    Junior Member
    • Feb 2014
    • 7

    make and trainGlimmerHMM

    I have a problem to train my data with GlimmerHMM. The manual says:
    Train GlimmerHMM module.

    To use this trainning module, first run make in this directory, and than call
    trainGlimmerHMM with the parameters specified below.

    Usage:
    trainGlimmerHMM <mfasta_file> <exon_file> [optional_parameters]
    But when I run make in this directory (I am not the administrator but I have rights to execute and read), I get this:
    Code:
    make: Nothing to be done for `all'.
    I thought that was everything in order but when I run my command line:
    Code:
    trainGlimmerHMM sequence.mfasta trainingdata.txt
    I receive:
    Code:
    trainGlimmerHMM: command not found
    I saw that other people already manage to train with their data. Could someone explain how you did it? Or how to solve this?

    I think that something is wrong in the makefile:
    # Copyright (c) 2003 by Mihaela Pertea.

    # C compiler

    C = gcc
    CC = g++
    CFLAGS = -O1 ${SEARCHDIRS}
    #CFLAGS = -O3 -g -Wall
    LIBS = -lm

    MAKEFILE= makefile

    .PHONY : all
    all: build-icm build-icm-noframe build1 build2 falsecomp findsites karlin score score2 scoreATG scoreATG2 scoreSTOP scoreSTOP2 erfapp splicescore
    How have you the makefile?

    Thanks!
  • TiborNagy
    Senior Member
    • Mar 2010
    • 329

    #2
    If you do not have write permission, you can not compile the program.

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #3
      If the trainGlimmerHMM exists in the directory you are trying to run it from, the file may need to have execute bit set before you can run the program. You *may* be able to do that by doing the following (or you may have to ask an administrator):

      Code:
      $ chmod u+x trainGlimmerHMM
      Then you can run the program like this (assuming all these files in the current directory otherwise provide full file paths)

      Code:
      $ ./trainGlimmerHMM sequence.mfasta trainingdata.txt
      If you are in doubt then post the long directory listing for trainGlimmerHMM file so we can see the permissions:

      Code:
      $ ls -l trainGlimmerHMM

      Comment

      • Llopis
        Junior Member
        • Feb 2014
        • 7

        #4
        Oh, I see, so the problem it was not the make but my permissions. I solved that (Thanks TiborNagy and GenoMax) I run the program with:
        Code:
        perl ./trainGlimmerHMM sequence.mfasta trainingdata.txt
        But I get the following message :

        sh: line 1: 26107 Segmentation fault /bi/opt/GlimmerHMM/train/score train.acc train.facc train.don train.fdon score.acc score.don 0 0 1 > res.temp
        ERROR 69: /bi/opt/GlimmerHMM/train/score exited funny: 35584 at trainGlimmerHMM line 445.
        How can I arrange that?

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #5
          Are the files you are using in the right format?

          Comment

          • Llopis
            Junior Member
            • Feb 2014
            • 7

            #6
            The type I am using this exon data like this:
            LD_Chr1_Draft_20130910_1349_consensus 585 3915
            LD_Chr1_Draft_20130910_1349_consensus 4015 4301

            LD_Chr1_Draft_20130910_1349_consensus 5605 5775

            LD_Chr1_Draft_20130910_1349_consensus 6120 9450
            LD_Chr1_Draft_20130910_1349_consensus 9550 9836
            Note the inversion of the genes in the complement sequence

            This exon file comes from a NCBI gene features file in fasta format, I am not sure that I did well the format conversion:
            >lcl|NC_001144.5_cdsid_NP_013033.1 [gene=YLL067C] [protein=Putative Y' element ATP-dependent helicase] [protein_id=NP_013033.1] [location=complement(join(585..3915,4015..4301))]
            >lcl|NC_001144.5_cdsid_NP_878115.1 [gene=YLL066W-B] [protein=hypothetical protein; overexpression causes a cell cycle delay or arrest] [protein_id=NP_878115.1] [location=5605..5775]
            >lcl|NC_001144.5_cdsid_NP_013034.1 [gene=YLL066C] [protein=Putative Y' element ATP-dependent helicase; YLL066C is not an essential gene] [protein_id=NP_013034.1] [location=complement(join(6120..9450,9550..9836))]
            Should be that like the first one or like this one?
            LD_Chr1_Draft_20130910_1349_consensus 4301 4015
            LD_Chr1_Draft_20130910_1349_consensus 3915 585

            LD_Chr1_Draft_20130910_1349_consensus 5605 5775

            LD_Chr1_Draft_20130910_1349_consensus 9836 9550
            LD_Chr1_Draft_20130910_1349_consensus 9450 6120
            EDIT: But with then I get this error: ERROR 36: no donors for training.
            And this sequence (It is not a multi fasta, but I tried with adding a new sequence and it didn't work.)
            >LD_Chr1_Draft_20130910_1349_consensus
            TAAAGTTATCCACAGCTTGTGGACAGTTTTAATTTTATTTTGATAAGCCCTGTTAACACAACGTTTAGTTATCCACAGAG
            CGCTGTGAATTCCTTGAATTAAACTTTTGTTTTTCCACTTATCCACAGAAGAGTTATCCCAACTGTCTACAACTGTGAAA
            CAATTATGCACAGGCTTGTTTTGCCTGTGGAAAACTTTTATTGAGAATGCTAGAATTAATTTGCATTTCATAAAACGACT
            AAAAATCAGGGGGGAATTTCAAAGTGCTTGATAAGGATTCATTGTGGCAAAAACTAAGTGAACAATTTCGAGAGAACACA...
            I see it starts to work because it prints this:
            -bash-4.1$ perl ./trainGlimmerHMM ~/LD_Chr1_Draft_20130910_1349_Cons_R.fasta ~/trainingdata.txt
            Simple Consensus = aaacaatcatattaatatgaaaatagaaa
            Markov Consensus = atatgccaaaactgccatgaaagtagcca
            ******** Old Way = aactaagctgatcaatatgaaaaaagata
            Simple Consensus = taattattataaaaatttttaataagtta
            Markov Consensus = aaaaaaaaaaaaaaaaaaaaaaaaagaaa
            ******** Old Way = ttttttttttttttttttttttttagttt
            Simple Consensus = acggcgttcaagcctt
            Markov Consensus = acggcgttcaagcctt
            ******** Old Way = acggcgttcaagcctt
            Simple Consensus = aaatggttattaaaat
            Markov Consensus = aattggtttttttttt
            ******** Old Way = aaatggtttttttttt
            Consens 0 pe poz 20
            Frunze de 8 si 0 componente
            Consens 0 pe poz 0
            Frunze de 2 si 0 componente
            rm: cannot remove `outf*': No such file or directory
            Simple Consensus = aaataacgtaacgcaacaaaaagaactgaggacttatcttaaataattgggtaaaaagagattataactattacaactac
            Markov Consensus = gatttagataagttaatagttcatctcgagaagctgccgacatgagaagggtaattcggcttttcctgttaacttagaat
            ******** Old Way = ataaaacccgacccaataaaaagaacgtgtgagctgccgacatgagaagggtaaaaaaagattaggacaattacaacgtc
            Simple Consensus = ttatttaataaatttataattattattataaatattaattttataattattattaattttattattattattttaatttt
            Markov Consensus = tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
            ******** Old Way = tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
            Simple Consensus = ctaaggtggcttatgcccaatctaaagtcgcagatgcgttatttgccgttgaattgaataaacgggctgagacagacggc
            Markov Consensus = ctaaggtggcttatgcccaatctaaagtcgcagatgcgttatttgccgttgaattgaataaacgggctgagacagacggc
            ******** Old Way = ctaaggtggcttatgcccaatctaaagtcgcagatgcgttatttgccgttgaattgaataaacgggctgagacagacggc
            Simple Consensus = ttattattattattattattattattattattattattattattattattattataattattattattattattaaaatg
            Markov Consensus = tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttg
            ******** Old Way = tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttg
            Simple Consensus = gaattatataaaatgccaaagtgcaaaggatatcataaataattaatggaagttacaaacaatcatattaatatgaaaat
            Markov Consensus = gcttcaaccagcctactggggttttttgtgtggaattgttttgcatttgacgtttattatgccaaaactgccatgaaagt
            ******** Old Way = gcttcaaccaaaacgacaaaccccaaaagagatcataaaccgttaattgaaagaccaactaagctgatcaatatgaaaaa
            Simple Consensus = tattattaaaaatattatttttattaataattttattattttaattataattattaaaattattaataaaatttttaata
            Markov Consensus = tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttaaaaa
            ******** Old Way = tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
            Simple Consensus = tcaagcctttgctgttcacccgggattagttcccggaaccggcttgggacgttatacaacgcataatggggcagttcgac
            Markov Consensus = tcaagcctttgctgttcacccgggattagttcccggaaccggcttgggacgttatacaacgcataatggggcagttcgac
            ******** Old Way = tcaagcctttgctgttcacccgggattagttcccggaaccggcttgggacgttatacaacgcataatggggcagttcgac
            Simple Consensus = tattaaaattattattatttttattattattattattattattattattattattataattaatattattattattatta
            Markov Consensus = tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
            ******** Old Way = tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
            sh: line 1: 53413 Segmentation fault /bi/opt/GlimmerHMM/train/score train.acc train.facc train.don train.fdon score.acc score.don 0 0 1 > res.temp
            ERROR 69: /bi/opt/GlimmerHMM/train/score exited funny: 35584 at ./trainGlimmerHMM line 445.
            Last edited by Llopis; 04-02-2014, 02:11 AM.

            Comment

            • ersgupta
              Member
              • Jun 2011
              • 26

              #7
              Hi,

              Were you able to resolve the "ERROR 69: segmentation fault"? I am facing the same problem.

              Comment

              • Llopis
                Junior Member
                • Feb 2014
                • 7

                #8
                Hi ersgupta,

                I think I did solve it, i'm sorry but I can't remember, . I couldn't find anything on my notes... sorry.

                Comment

                • ersgupta
                  Member
                  • Jun 2011
                  • 26

                  #9
                  Hi Llopis,

                  No problem. I was able to finally resolve it, by making some array size adjustments to the code. thanks.

                  Comment

                  Latest Articles

                  Collapse

                  • SEQadmin2
                    Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                    by SEQadmin2


                    Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                    The systematic characterization of the human proteome has
                    ...
                    07-20-2026, 11:48 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, Yesterday, 11:41 AM
                  0 responses
                  10 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-20-2026, 11:10 AM
                  0 responses
                  23 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-13-2026, 10:26 AM
                  0 responses
                  37 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-09-2026, 10:04 AM
                  0 responses
                  46 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...