Mercurial > repos > greg > pima_report
changeset 29:1352b8aa5979 draft
Uploaded
author | greg |
---|---|
date | Tue, 02 May 2023 13:40:06 +0000 |
parents | 27485e70ed2b |
children | 134a0879d0b6 |
files | pima_report.xml |
diffstat | 1 files changed, 18 insertions(+), 27 deletions(-) [+] |
line wrap: on
line diff
--- a/pima_report.xml Fri Apr 28 19:40:58 2023 +0000 +++ b/pima_report.xml Tue May 02 13:40:06 2023 +0000 @@ -83,27 +83,24 @@ ln -s $i 'mutation_regions_dir/$identifier' && #end for -#if $lrn_risk_amr_collection: - #set lrn_risk_amr_file = 'lrn_risk_amr.tsv' - touch $lrn_risk_amr_file && - #for $i in $lrn_risk_amr_collection: - cat $i >> $lrn_risk_amr_file && +#if str($lrn_risk_amr_files) != 'None': + touch 'lrn_risk_amr.tsv' && + #for $i in $lrn_risk_amr_files: + cat $i >> 'lrn_risk_amr.tsv' && #end for #end if -#if $lrn_risk_blacklist_collection: - #set lrn_risk_blacklist_file = 'lrn_risk_blacklist.tsv' - touch $lrn_risk_blacklist_file && - #for $i in $lrn_risk_blacklist_collection: - cat $i >> $lrn_risk_blacklist_file && +#if str($lrn_risk_blacklist_files) != 'None': + touch 'lrn_risk_blacklist.tsv' && + #for $i in $lrn_risk_blacklist_files: + cat $i >> 'lrn_risk_blacklist.tsv' && #end for #end if -#if $lrn_risk_vf_collection: - #set lrn_risk_vf_file = 'lrn_risk_vf.tsv' - touch $lrn_risk_vf_file && - #for $i in $lrn_risk_vf_collection: - cat $i >> $lrn_risk_vf_file && +#if str($lrn_risk_vf_files) != 'None': + touch 'lrn_risk_vf.tsv' && + #for $i in $lrn_risk_vf_files: + cat $i >> 'lrn_risk_vf.tsv' && #end for #end if @@ -156,15 +153,9 @@ --kraken2_report_file '$kraken2_report_file' --kraken2_version '$kraken2_version' #end if -#if $lrn_risk_amr_collection: - --lrn_risk_amr_file '$lrn_risk_amr_file' -#end if -#if $lrn_risk_blacklist_collection: - --lrn_risk_blacklist_file '$lrn_risk_blacklist_file' -#end if -#if $lrn_risk_vf_collection: - --lrn_risk_vf_file '$lrn_risk_vf_file' -#end if +--lrn_risk_amr_file 'lrn_risk_amr.tsv' +--lrn_risk_blacklist_file 'lrn_risk_blacklist.tsv' +--lrn_risk_vf_file 'lrn_risk_vf.tsv' #if str($minimap2_bam_file) not in ['None', '']: --minimap2_version '$minimap2_version' #end if @@ -200,9 +191,9 @@ <param name="assembler_version_file" type="data" format="fasta,tabular,tsv" optional="true" label="Assembly version file" help="Optional, ignored if not selected"/> <param name="genome_insertions_file" type="data" format="bed" label="Genome insertions BED file"/> <param name="kraken2_report_file" type="data" format="tabular,tsv" optional="true" label="Kraken2 report tabular file" help="Optional, ignored if not selected"/> - <param name="lrn_risk_amr_collection" format="tsv" type="data_collection" collection_type="list" optional="true" label="LRN Risk AMR collection"/> - <param name="lrn_risk_blacklist_collection" format="tsv" type="data_collection" collection_type="list" optional="true" label="LRN Risk blacklist collection"/> - <param name="lrn_risk_vf_collection" format="tsv" type="data_collection" collection_type="list" optional="true" label="LRN Risk virulence factors collection"/> + <param name="lrn_risk_amr_files" format="tsv" type="data" multiple="true" optional="true" label="LRN Risk AMR files"/> + <param name="lrn_risk_blacklist_files" format="tsv" type="data" multiple="true" optional="true" label="LRN Risk blacklist files"/> + <param name="lrn_risk_vf_files" format="tsv" type="data" multiple="true" optional="true" label="LRN Risk virulence factors files"/> <param name="minimap2_bam_file" type="data" format="bam" label="Minimap2 BAM file"/> <param name="mutation_regions" format="tabular,tsv" type="data_collection" collection_type="list" label="Collection of mutation regions tabular files"/> <param name="mutation_regions_bed_file" type="data" format="mutations_regions,bed" label="Mutation regions BED file"/>