Skip to content

Commit

Permalink
Deploying to gh-pages from @ c6bed68 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
JLSteenwyk committed Dec 18, 2023
1 parent f914c5f commit 0007805
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 25 deletions.
4 changes: 4 additions & 0 deletions _sources/change_log/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Change log

Major changes to OrthoSNAP are summarized here.

**1.2.0**
Added the -rih (\-\-report_inparalog_handling) function, which creates
a summary file of which inparalogs where kept compared to trimmed

**0.1.0**
Added -r/\-\-rooted, -st/\-\-snap_trees, and -ip/\-\-inparalog_to_keep functions

Expand Down
62 changes: 40 additions & 22 deletions _sources/usage/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,29 +81,47 @@ or the inparalog with the median sequence length can be kept using the following
Again, following transcriptomics, the default is to keep the longest sequence because (at least in theory)
it is the most complete gene annotation.

Report inparalog handling
-------------------------
To report inparalogs and specify which was kept per SNAP-OG, use the -rih, \-\-report_inparalog_handling
argument. The resulting file, which will have the suffix ".inparalog_report.txt," will have three columns: |br|
- col 1 is the orthogroup file |br|
- col 2 is the inparalog that was kept |br|
- col 3 is/are the inparalog/s that were trimmed separated by a semi-colon ";" |br|

To generate this file, use the following command:

.. code-block:: shell
$ orthosnap -f orthogroup_of_genes.faa -t phylogeny_of_orthogroup_of_genes.tre -rih
|
All options
-----------

+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| Option | Usage and meaning |
+=============================+==============================================================================================================================================+
| -h/\-\-help | Print help message |
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -v/\-\-version | Print software version |
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -t/\-\-tree | Input tree file (format: newick) |
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -s/\-\-support | Bipartition support threshold for collapsing uncertain branches (default: 80) |
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -o/\-\-occupancy | Occupancy threshold for identifying a subgroup of interest (default: 50%) |
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -r/\-\-roooted | boolean argument for whether the input phylogeny is already rooted (default: false) |
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -st/\-\-snap_trees | boolean argument for whether trees of SNAP-OGs should be outputted (default: false) |
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -ip/\-\-inparalog_to_keep | determine which sequence to keep in the case of species-specific inparalogs using sequence- or tree-based options (default: longest_seq_len) |
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -op/\-\-output_path | pathway for output files to be written (default: same as -f input) |
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
+-------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| Option | Usage and meaning |
+=====================================+==============================================================================================================================================+
| -h/\-\-help | Print help message |
+-------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -v/\-\-version | Print software version |
+-------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -t/\-\-tree | Input tree file (format: newick) |
+-------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -s/\-\-support | Bipartition support threshold for collapsing uncertain branches (default: 80) |
+-------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -o/\-\-occupancy | Occupancy threshold for identifying a subgroup of interest (default: 50%) |
+-------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -r/\-\-roooted | boolean argument for whether the input phylogeny is already rooted (default: false) |
+-------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -st/\-\-snap_trees | boolean argument for whether trees of SNAP-OGs should be outputted (default: false) |
+-------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -ip/\-\-inparalog_to_keep | determine which sequence to keep in the case of species-specific inparalogs using sequence- or tree-based options (default: longest_seq_len) |
+-------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -op/\-\-output_path | pathway for output files to be written (default: same as -f input) |
+-------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| -rih, \-\-report_inparalog_handling | create a summary file of which inparalogs where kept compared to trimmed |
+-------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
*For genome-scale analyses, we recommend changing the -o/\-\-occupancy parameter to be the same for all large gene families so that the minimum SNAP-OG occupancy is the same
for all SNAP-OGs.
for all SNAP-OGs.
3 changes: 3 additions & 0 deletions change_log/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@
<span id="id1"></span><h1>Change log<a class="headerlink" href="#change-log" title="Permalink to this headline"></a></h1>
<hr class="docutils" />
<p>Major changes to OrthoSNAP are summarized here.</p>
<p><strong>1.2.0</strong>
Added the -rih (--report_inparalog_handling) function, which creates
a summary file of which inparalogs where kept compared to trimmed</p>
<p><strong>0.1.0</strong>
Added -r/--rooted, -st/--snap_trees, and -ip/--inparalog_to_keep functions</p>
<p><strong>1.0.0</strong>
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ <h1>Quick Start<a class="headerlink" href="#quick-start" title="Permalink to thi
<li class="toctree-l2"><a class="reference internal" href="usage/index.html#basic-usage">Basic usage</a></li>
<li class="toctree-l2"><a class="reference internal" href="usage/index.html#accounting-for-tree-uncertainty">Accounting for tree uncertainty</a></li>
<li class="toctree-l2"><a class="reference internal" href="usage/index.html#specifying-which-inparalog-to-keep">Specifying which inparalog to keep</a></li>
<li class="toctree-l2"><a class="reference internal" href="usage/index.html#report-inparalog-handling">Report inparalog handling</a></li>
<li class="toctree-l2"><a class="reference internal" href="usage/index.html#all-options">All options</a></li>
</ul>
</li>
Expand Down
Loading

0 comments on commit 0007805

Please sign in to comment.