Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • retardia
    Junior Member
    • May 2010
    • 1

    #1

    CEGMA with custom set of proteins

    Hi there,

    I am trying to use CEGMA with a custom set of alignment that I maintain, instead of the default KOGs. When running in a custom mode, one has to provide HMM profiles created with HMMER and "choose a cutoff for each profile". Example from the CEGMA readme:

    cegma --genome sample.dna --prot_num 4 --protein ORTH.fa \\
    --hmm_prefix ORTH --hmm_profiles hmm_profiles/ \\
    --cutoff_file profiles_cutoff.tbl

    I have 2 questions:

    1. Anyone knows what "the cutoff for the HMMER alignments" refers to, and how the default profiles_cutoff.tbl file was generated?

    1. Do I understand it right that all alignments need to have the same number of sequences, in order to satisfy the —prot_num argument?

    Any tips would be greatly appreciated, many many thanks.

    Fabien
  • ssully
    Member
    • Aug 2010
    • 48

    #2
    Originally posted by retardia View Post
    Hi there,

    I am trying to use CEGMA with a custom set of alignment that I maintain, instead of the default KOGs. When running in a custom mode, one has to provide HMM profiles created with HMMER and "choose a cutoff for each profile". Example from the CEGMA readme:

    cegma --genome sample.dna --prot_num 4 --protein ORTH.fa \\
    --hmm_prefix ORTH --hmm_profiles hmm_profiles/ \\
    --cutoff_file profiles_cutoff.tbl

    I have 2 questions:

    1. Anyone knows what "the cutoff for the HMMER alignments" refers to, and how the default profiles_cutoff.tbl file was generated?

    1. Do I understand it right that all alignments need to have the same number of sequences, in order to satisfy the —prot_num argument?

    Any tips would be greatly appreciated, many many thanks.

    Fabien

    I'd like to revive this thread because it was never answered...and I have the same questions ;>

    Comment

    • mendezg
      Junior Member
      • Oct 2014
      • 2

      #3
      I'll revive this again since neither of you got any answers. I came across this when looking for help with a different cegma question.

      The cutoff values are calculated as described in their paper. For each gene they took their alignment (of 6 taxa) and created every sub alignment of n-1 taxa. They created hmms from the n-1 alignments. Then they did an hmmsearch of the missing taxa with the hmm. They took the score of each of those searches and averaged them and then divided by 2 to generate the cutoff value.

      I created a shell script to generate these scores, if anyone is interested.

      The prot_num argument does mean that you will need all the alignments to have the same number of sequences. I wrote a shell script to bin all the genes based on prot_number. Another script then runs cegma with each binned prot_number.

      Another issue that comes up is that the hmm used in hmm_profiles needs to be generated by hmmer 2.3.2 and calibrated using hmmcalibrate. If you use an hmm generated by hmmer 3 you get an error.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2




        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
        Yesterday, 06:46 AM
      • 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

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      30 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-28-2026, 09:51 AM
      0 responses
      21 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      71 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      48 views
      0 reactions
      Last Post SEQadmin2  
      Working...