Child pages
  • Extract Consensus as Text

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

For each input multiple alignment the workflow calculates the consensus and saves it to a text file, named according to the name of the input alignment. 

The JalView algorithm (denoted as "default") is used by default to calculate the consensus. For each column of the alignment it returns either "+", if there are 2 characters with high frequency in this column, or a character in uppercase or lowercase. The case of the character depends on the percentage value of the character in the column and the "threshold" value. 

 Alternatively, you can use the ClustalW algorithm to calculate the consensus:

 - If all characters in a column are exactly the same, the algorithm sets asterisk value ("*") to the corresponding position of the consensus.
 - A colon value (":") indicates conservation between groups of strongly similar properties, i.e. the scoring value is greater than 0.5 in the Gonnet PAM 250 matrix (see documentation for details).
 - If the scoring value is less than 0.5, the period (".") value is inserted.
 - Otherwise, the algorithm inserts space (" ").

The "threshold" parameter is not applied to this algorithm.

Tip
titleHow to Use This Sample

If you haven't used the workflow samples in UGENE before, look at the "How to Use Sample Workflows" section of the documentation.

Workflow Sample Location

The workflow sample "Extract Consensus as Text" can be found in the "Alignment" section of the Workflow Designer samples.

Workflow Image

The workflow looks as follows:

HTML
<center>
  <br>
  <img src="/wiki/download/attachments/16121884/Extract Consensus as Text.png"/>
  <br> 
</center>
Workflow Wizard

The wizard has 3 pages.

  1. Input Multiple Alignments: On this page you must input multiple alignments file(s). 

    HTML
    <center>
      <br>
      <img src="/wiki/download/attachments/16121884/Extract Consensus as Text_1.png"/>
      <br> 
    </center>
  2. Extracting Consensus Settings: On this page you can modify extracting settings. 

    HTML
    <center>
      <br>
      <img src="/wiki/download/attachments/16121884/Extract Consensus as Text_2.png"/>
      <br> 
    </center>
  3. Output Files: For each input alignment the workflow outputs separate sequence file with consensus in it. 

    HTML
    <center>
      <br>
      <img src="/wiki/download/attachments/16121884/Extract Consensus as Text_3.png"/>
      <br> 
    </center>