Skip to content

Commit

Permalink
Reorder autometa-binning parameters in step-by-step tutorial (#314)
Browse files Browse the repository at this point in the history
- `autometa-binning` parameter explanation is now in the same order as the commands are input
- deprecated `--domain` has been replaced with `--rank-filter-name`
  • Loading branch information
kaw97 authored Apr 21, 2023
1 parent 148f490 commit 32f44d0
Showing 1 changed file with 36 additions and 34 deletions.
70 changes: 36 additions & 34 deletions docs/source/step-by-step-tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -637,51 +637,53 @@ Use the following command to perform binning:
--coverages $HOME/tutorial/78mbp_metagenome.coverages.tsv \
--gc-content $HOME/tutorial/78mbp_metagenome.gc_content.tsv \
--markers $HOME/tutorial/78mbp_metagenome.markers.tsv \
--output-binning $HOME/tutorial/78mbp_metagenome.binning.tsv \
--output-main $HOME/tutorial/78mbp_metagenome.main.tsv \
--clustering-method dbscan \
--completeness 20 \
--purity 90 \
--cov-stddev-limit 25 \
--gc-stddev-limit 5 \
--taxonomy $HOME/tutorial/78mbp_metagenome.taxonomy.tsv \
--output-binning $HOME/tutorial/78mbp_metagenome.binning.tsv \
--output-main $HOME/tutorial/78mbp_metagenome.main.tsv \
--starting-rank superkingdom \
--rank-filter superkingdom
--rank-filter superkingdom \
--rank-name-filter bacteria
Let us dissect the above command:

+-------------------------+-----------------------------------------------------------------------------------------+-------------+
| Flag | Function | Requirement |
+=========================+=========================================================================================+=============+
| ``--kmers`` | Path to embedded k-mer frequencies table | Required |
+-------------------------+-----------------------------------------------------------------------------------------+-------------+
| ``--coverages`` | Path to metagenome coverages table | Required |
+-------------------------+-----------------------------------------------------------------------------------------+-------------+
| ``--gc-content`` | Path to metagenome GC contents table | Required |
+-------------------------+-----------------------------------------------------------------------------------------+-------------+
| ``--markers`` | Path to Autometa annotated markers table | Required |
+-------------------------+-----------------------------------------------------------------------------------------+-------------+
| ``--output-binning`` | Path to write Autometa binning results | Required |
+-------------------------+-----------------------------------------------------------------------------------------+-------------+
| ``--output-main`` | Path to write Autometa main table | Required |
+-------------------------+-----------------------------------------------------------------------------------------+-------------+
| ``--clustering-method`` | Clustering algorithm to use for recursive binning. Choices dbscan (default) and hdbscan | Optional |
+-------------------------+-----------------------------------------------------------------------------------------+-------------+
| ``--completeness`` | completeness cutoff to retain cluster (default 20) | Optional |
+-------------------------+-----------------------------------------------------------------------------------------+-------------+
| ``--purity`` | purity cutoff to retain cluster (default 95) | Optional |
+-------------------------+-----------------------------------------------------------------------------------------+-------------+
| ``--cov-stddev-limit`` | coverage standard deviation limit to retain cluster (default 25) | Optional |
+-------------------------+-----------------------------------------------------------------------------------------+-------------+
| ``--gc-stddev-limit`` | GC content standard deviation limit to retain cluster (default 5) | Optional |
+-------------------------+-----------------------------------------------------------------------------------------+-------------+
| ``--taxonomy`` | Path to Autometa assigned taxonomies table | Required |
+-------------------------+-----------------------------------------------------------------------------------------+-------------+
| ``--starting-rank`` | Canonical rank at which to begin subsetting taxonomy (default: superkingdom) | Optional |
+-------------------------+-----------------------------------------------------------------------------------------+-------------+
| ``--domain`` | Kingdom to consider. Choices bacteria (default) and archaea | Optional |
+-------------------------+-----------------------------------------------------------------------------------------+-------------+
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+
| Flag | Function | Requirement |
+=========================+====================================================================================================================+=============+
| ``--kmers`` | Path to embedded k-mer frequencies table | Required |
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+
| ``--coverages`` | Path to metagenome coverages table | Required |
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+
| ``--gc-content`` | Path to metagenome GC contents table | Required |
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+
| ``--markers`` | Path to Autometa annotated markers table | Required |
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+
| ``--output-binning`` | Path to write Autometa binning results | Required |
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+
| ``--output-main`` | Path to write Autometa main table | Required |
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+
| ``--clustering-method`` | Clustering algorithm to use for recursive binning. Choices dbscan (default) and hdbscan | Optional |
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+
| ``--completeness`` | completeness cutoff to retain cluster (default 20) | Optional |
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+
| ``--purity`` | purity cutoff to retain cluster (default 95) | Optional |
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+
| ``--cov-stddev-limit`` | coverage standard deviation limit to retain cluster (default 25) | Optional |
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+
| ``--gc-stddev-limit`` | GC content standard deviation limit to retain cluster (default 5) | Optional |
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+
| ``--taxonomy`` | Path to Autometa assigned taxonomies table | Required |
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+
| ``--starting-rank`` | Canonical rank at which to begin subsetting taxonomy (default: superkingdom) | Optional |
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+
| ``--rank-filter`` | Canonical rank to subset by the value provided by ``--rank-name-filter`` default: superkingdom | Optional |
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+
| ``--rank-name-filter`` | Only retrieve contigs with this value in the canonical rank column provided in ``rank-filter`` (default: bacteria) | Optional |
+-------------------------+--------------------------------------------------------------------------------------------------------------------+-------------+

You can view the complete command-line options using ``autometa-binning -h``

Expand Down

0 comments on commit 32f44d0

Please sign in to comment.