Skip to content
Snippets Groups Projects
Commit 1ec25cbb authored by Ticlla Ccenhua Monica Roxana's avatar Ticlla Ccenhua Monica Roxana
Browse files

add line to rule strphlan_clade_profiling to handle errors when executing strainphlan_ggtree.R

parent fcb0102b
Branches
No related tags found
No related merge requests found
......@@ -305,7 +305,8 @@ rule strphlan_clade_profiling:
{input.samples_metadata} \
{output.clade_result_dir}/{wildcards.clade}.fasta \
{output.clade_result_dir}/RAxML_bestTree.{wildcards.clade}.tree_1.png \
{output.clade_result_dir}/RAxML_bestTree.{wildcards.clade}.tree_2.png; fi') &>{log}
{output.clade_result_dir}/RAxML_bestTree.{wildcards.clade}.tree_2.png || \
echo "strainphlan_ggtree.R halted with non-zero exit status!"; fi') &>{log}
'''
def aggregate_clade_profiles(wildcards):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment