File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,7 +106,8 @@ rule phylogenetic_placement:
106106 tree_protobuf = "data/public.all.masked.pb.gz"
107107 params :
108108 reference_fasta = config ["REFERENCE_FASTA" ],
109- reference_id = read_fasta_IDs (config ["REFERENCE_FASTA" ])[0 ]
109+ reference_id = read_fasta_IDs (config ["REFERENCE_FASTA" ])[0 ],
110+ max_equally_parsimonious_placements = 1000000
110111 output :
111112 tree = OUTPUT_DIR / "{dataset}/tree.nwk" ,
112113 clades = OUTPUT_DIR / "{dataset}/clades.txt" ,
@@ -118,7 +119,7 @@ rule phylogenetic_placement:
118119 """
119120 cat {params.reference_fasta} {input.new_samples} > input.fasta
120121 faToVcf -maskSites='{input.masking_vcf}' -ref='{params.reference_id}' input.fasta input.vcf
121- usher -T {threads} -i {input.tree_protobuf} -v input.vcf -D -u -d usher_results
122+ usher -T {threads} -i {input.tree_protobuf} -v input.vcf -D -u -e {params.max_equally_parsimonious_placements} - d usher_results
122123 mv usher_results/uncondensed-final-tree.nh {output.tree}
123124 mv usher_results/clades.txt {output.clades}
124125 mv usher_results {output.usher_dir}
You can’t perform that action at this time.
0 commit comments