Skip to content

Commit

Permalink
Retrained SINTAX after duplicate taxa detected, typos fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
liberjul committed Mar 5, 2021
1 parent 13c9e69 commit b7ca971
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
8 changes: 7 additions & 1 deletion constax.sh
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,13 @@ then
cat rdp_train.out
exit 1
else
echo "RDP training error overcome, continuing with classification"
echo "RDP training error overcome, continuing with classification after SINTAX is retrained"
if [ $(echo "$SINTAXPATH" | grep -oP "(?<=usearch).*?(?=\.)") -lt 11 2> /dev/null ]
then
"$SINTAXPATH" -makeudb_sintax "${TFILES}/${base}"__UTAX.fasta -output ${TFILES}/sintax.db
else
"$SINTAXPATH" -makeudb_usearch "${TFILES}/${base}"__UTAX.fasta -output ${TFILES}/sintax.db
fi
fi
fi

Expand Down
8 changes: 4 additions & 4 deletions docs/source/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Database to train classifiers. UNITE and SILVA formats are supported. See `Datas
.. code-block:: default
-f, --trainfile=./training_files
Path to which training files will be written.

.. code-block:: default
Expand All @@ -76,7 +76,7 @@ Output directory for classifications.
Directory for taxonomy assignments.

.. code-block:: default
-t, --train
Complete training if specified. Cannot run classification without training files present, so this option is necessary at least at the first time you run CONSTAX or you changed the taxonomic referenced sequence database.
Expand All @@ -97,7 +97,7 @@ If specified, use executable paths on Michigan State University HPCC. Overrides
--conservative
If specified, use conservative consensus rule (2 null = null winner. For example, if BLAST is the only algorithm that classifies OTU_135 to Family Strophariaceae while SINTAX and RDP give not classification, then no classification is reported at the rank of Family for OTU_135 in the CONSTAX taxonomy). According to our tests, works better for SILVA database to use this option.
If specified, use conservative consensus rule (2 null = null winner. For example, if BLAST is the only algorithm that classifies OTU_135 to Family Strophariaceae while SINTAX and RDP give no classification, then no classification is reported at the rank of Family for OTU_135 in the CONSTAX taxonomy). According to our tests, works better for SILVA database to use this option.

.. code-block:: default
Expand All @@ -112,7 +112,7 @@ If specified, run R script to make plot of classified taxa. The plot compares ho
If specified, runs checks but stops before training or classifying.

.. code-block:: default
--mem
Memory available to use for RDP, in MB. 32000MB recommended for UNITE, 128000MB for SILVA. This is necessary for training the referenced databases.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/tutorial1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ At this point your are ready to give CONSTAX a try.
gian@gian-Z390-GY:~/tutorial$ sh constax.sh
And CONSTAX will strat running...
And CONSTAX will start running...

.. image:: images/run.png
:align: center
Expand Down

0 comments on commit b7ca971

Please sign in to comment.