comparison nextalign.xml @ 14:4d93e708218c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
author iuc
date Thu, 04 Aug 2022 06:59:23 +0000
parents 1c785a6b4d90
children aadc5d8099e2
comparison
equal deleted inserted replaced
13:e5ed60c823a7 14:4d93e708218c
8 <requirement type="package" version="@TOOL_VERSION@">nextalign</requirement> 8 <requirement type="package" version="@TOOL_VERSION@">nextalign</requirement>
9 </requirements> 9 </requirements>
10 <version_command>nextalign --version-detailed</version_command> 10 <version_command>nextalign --version-detailed</version_command>
11 <command detect_errors="exit_code"><![CDATA[ 11 <command detect_errors="exit_code"><![CDATA[
12 @REF_FASTA@ 12 @REF_FASTA@
13 ln -s '$sequences' sequences.fasta && 13 @QUERY_FASTA@
14 nextalign 14 nextalign run
15 --sequences sequences.fasta 15 --input-ref reference.fa
16 --reference reference.fa
17 --output-fasta '$output_fasta' 16 --output-fasta '$output_fasta'
18 #if $output_insertions: 17 #if $output_insertions:
19 --output-insertions '$output_csv' 18 --output-insertions '$output_csv'
20 #end if 19 #end if
21 #if $translation.translation_select == "yes": 20 #if $translation.translation_select == "yes":
22 --genes '${translation.genes}' 21 --genes '${translation.genes}'
23 --genemap '${translation.genemap}' 22 --genemap '${translation.genemap}'
23 --output-translations 'sequences.gene.{gene}.fasta'
24 #end if 24 #end if
25 --min-length '${min_length}' 25 --min-length ${min_length}
26 --penalty-gap-extend '${penalty_gap_extend}' 26 --penalty-gap-extend ${penalty_gap_extend}
27 --penalty-gap-open '${penalty_gap_open}' 27 --penalty-gap-open ${penalty_gap_open}
28 --penalty-gap-open-in-frame '${penalty_gap_open_in_frame}' 28 --penalty-gap-open-in-frame ${penalty_gap_open_in_frame}
29 --penalty-gap-open-out-of-frame '${penalty_gap_open_out_of_frame}' 29 --penalty-gap-open-out-of-frame ${penalty_gap_open_out_of_frame}
30 --penalty-mismatch '${penalty_mismatch}' 30 --penalty-mismatch ${penalty_mismatch}
31 --score-match '${score_match}' 31 --score-match ${score_match}
32 --max-indel '${max_indel}' 32 --max-indel ${max_indel}
33 --nuc-seed-length '${nuc_seed_length}' 33 --seed-length ${seed_length}
34 --nuc-min-seeds '${nuc_min_seeds}' 34 --min-seeds ${min_seeds}
35 --nuc-seed-spacing '${nuc_seed_spacing}' 35 --seed-spacing ${seed_spacing}
36 --nuc-mismatches-allowed '${nuc_mismatches_allowed}' 36 --mismatches-allowed ${mismatches_allowed}
37 $query
37 ]]></command> 38 ]]></command>
38 <inputs> 39 <inputs>
39 <expand macro="reference"/> 40 <expand macro="reference"/>
40 <param argument="--sequences" type="data" format="fasta" label="FASTA file with input sequences"/> 41 <param name="input_fasta" type="data" format="fasta,fasta.gz" label="FASTA file with input sequences"/>
41 <param argument="--output-insertions" type="boolean" checked="true" label="Output insertion sequences?" help="Outputs stripped insertions relative to reference as CSV"/> 42 <param argument="--output-insertions" type="boolean" checked="true" label="Output insertion sequences?" help="Outputs stripped insertions relative to reference as CSV"/>
42 <conditional name="translation"> 43 <conditional name="translation">
43 <param name="translation_select" type="select" label="Translate annotated genes based on GFF and gene list?"> 44 <param name="translation_select" type="select" label="Translate annotated genes based on GFF and gene list?">
44 <option value="yes">Translate annotated genes</option> 45 <option value="yes">Translate annotated genes</option>
45 <option value="no">Don't translate genes</option> 46 <option value="no">Don't translate genes</option>
52 <add value="." /> 53 <add value="." />
53 <add value="," /> 54 <add value="," />
54 </valid> 55 </valid>
55 </sanitizer> 56 </sanitizer>
56 </param> 57 </param>
57 <param argument="--genemap" type="data" format="gtf" label="GTF file containing custom gene map"/> <!-- TODO - make sure they need GFF and not GTF or GFF3 --> 58 <param argument="--genemap" type="data" format="gff3" label="GFF3 file containing custom gene map"/>
58 </when> 59 </when>
59 <when value="no"/> 60 <when value="no"/>
60 </conditional> 61 </conditional>
61 <param argument="--min-length" type="integer" value="100" min="0" 62 <param argument="--min-length" type="integer" value="100" min="0"
62 label="Minimum length of nucleotide sequence to consider for alignment" 63 label="Minimum length of nucleotide sequence to consider for alignment"
80 label="Score for encouraging aligned nucelotides or aminoacids with matching state." 81 label="Score for encouraging aligned nucelotides or aminoacids with matching state."
81 help="Note that this is redundantly parameterized with mismatch penalty." /> 82 help="Note that this is redundantly parameterized with mismatch penalty." />
82 <param argument="--max-indel" type="integer" value="400" min="0" 83 <param argument="--max-indel" type="integer" value="400" min="0"
83 label="Maximum length of insertions or deletions allowed to proceed with alignment." 84 label="Maximum length of insertions or deletions allowed to proceed with alignment."
84 help="Alignments with long indels are slow to compute and require substantial memory in the current implementation. Alignment of sequences with indels that are longer than this value will not be attempted and a warning will be emitted." /> 85 help="Alignments with long indels are slow to compute and require substantial memory in the current implementation. Alignment of sequences with indels that are longer than this value will not be attempted and a warning will be emitted." />
85 <param argument="--nuc-seed-length" type="integer" value="21" min="1" 86 <param argument="--seed-length" type="integer" value="21" min="1"
86 label="Seed length for nucleotide alignment." 87 label="Seed length for nucleotide alignment."
87 help="Seeds should be long enough to be unique, but short enough to match with high probability." /> 88 help="Seeds should be long enough to be unique, but short enough to match with high probability." />
88 <param argument="--nuc-min-seeds" type="integer" value="10" min="1" 89 <param argument="--min-seeds" type="integer" value="10" min="1"
89 label="Minimum number of seeds to search for during nucleotide alignment." 90 label="Minimum number of seeds to search for during nucleotide alignment."
90 help="Relevant for short sequences. In long sequences, the number of seeds is determined by nucleotide seed spacing. This should be a positive integer." /> 91 help="Relevant for short sequences. In long sequences, the number of seeds is determined by nucleotide seed spacing. This should be a positive integer." />
91 <param argument="--nuc-seed-spacing" type="integer" value="100" min="0" 92 <param argument="--seed-spacing" type="integer" value="100" min="0"
92 label="Spacing between seeds during nucleotide alignment." /> 93 label="Spacing between seeds during nucleotide alignment." />
93 <param argument="--nuc-mismatches-allowed" type="integer" value="3" min="0" 94 <param argument="--mismatches-allowed" type="integer" value="3" min="0"
94 label="Maximum number of mismatching nucleotides." 95 label="Maximum number of mismatching nucleotides."
95 help="Maximum number of mismatching nucleotides allowed for a seed to be considered a match." /> 96 help="Maximum number of mismatching nucleotides allowed for a seed to be considered a match." />
96 </inputs> 97 </inputs>
97 <outputs> 98 <outputs>
98 <data name="output_fasta" format="fasta" label="${tool.name} on ${on_string} (FASTA)"/> 99 <data name="output_fasta" format="fasta" label="${tool.name} on ${on_string} (FASTA)"/>
112 <conditional name="reference_source"> 113 <conditional name="reference_source">
113 <param name="reference_source_selector" value="history"/> 114 <param name="reference_source_selector" value="history"/>
114 <param name="ref_file" value="reference.fasta"/> 115 <param name="ref_file" value="reference.fasta"/>
115 </conditional> 116 </conditional>
116 <param name="output_insertions" value="true"/> 117 <param name="output_insertions" value="true"/>
117 <param name="sequences" value="subsampled.fasta"/> 118 <param name="input_fasta" value="subsampled.fasta" ftype="fasta" />
118 <conditional name="translation"> 119 <conditional name="translation">
119 <param name="translation_select" value="yes"/> 120 <param name="translation_select" value="yes"/>
120 <param name="genes" value="E,M,N,ORF10,ORF14,ORF1a,ORF1b,ORF3a,ORF6,ORF7a,ORF7b,ORF8,ORF9b,S"/> 121 <param name="genes" value="E,M,N,ORF1a,ORF1b,ORF3a,ORF6,ORF7a,ORF7b,ORF8,ORF9b,ORF10,S"/>
121 <param name="genemap" value="genemap.gtf" ftype="gtf"/> 122 <param name="genemap" value="genemap.gff3" ftype="gff3"/>
122 </conditional> 123 </conditional>
123 <output name="output_fasta" file="output.fasta" sort="true"/> 124 <output name="output_fasta" file="output.fasta" sort="true"/>
124 <output name="output_csv" file="insertions.csv" sort="true"/> 125 <output name="output_csv" file="insertions.csv" sort="true"/>
125 <output_collection name="translations" type="list" count="14"> 126 <output_collection name="translations" type="list" count="13">
126 <element name="E" file="subsampled.gene.E.fasta" ftype="fasta" sort="true"/> 127 <element name="E" file="subsampled.gene.E.fasta" ftype="fasta" sort="true"/>
127 <element name="M" file="subsampled.gene.M.fasta" ftype="fasta" sort="true"/> 128 <element name="M" file="subsampled.gene.M.fasta" ftype="fasta" sort="true"/>
128 <element name="N" file="subsampled.gene.N.fasta" ftype="fasta" sort="true"/> 129 <element name="N" file="subsampled.gene.N.fasta" ftype="fasta" sort="true"/>
129 <element name="ORF10" file="subsampled.gene.ORF10.fasta" ftype="fasta" sort="true"/>
130 <element name="ORF14" file="subsampled.gene.ORF14.fasta" ftype="fasta" sort="true"/>
131 <element name="ORF1a" file="subsampled.gene.ORF1a.fasta" ftype="fasta" sort="true"/> 130 <element name="ORF1a" file="subsampled.gene.ORF1a.fasta" ftype="fasta" sort="true"/>
132 <element name="ORF1b" file="subsampled.gene.ORF1b.fasta" ftype="fasta" sort="true"/> 131 <element name="ORF1b" file="subsampled.gene.ORF1b.fasta" ftype="fasta" sort="true"/>
133 <element name="ORF3a" file="subsampled.gene.ORF3a.fasta" ftype="fasta" sort="true"/> 132 <element name="ORF3a" file="subsampled.gene.ORF3a.fasta" ftype="fasta" sort="true"/>
134 <element name="ORF6" file="subsampled.gene.ORF6.fasta" ftype="fasta" sort="true"/> 133 <element name="ORF6" file="subsampled.gene.ORF6.fasta" ftype="fasta" sort="true"/>
135 <element name="ORF7a" file="subsampled.gene.ORF7a.fasta" ftype="fasta" sort="true"/> 134 <element name="ORF7a" file="subsampled.gene.ORF7a.fasta" ftype="fasta" sort="true"/>
146 <conditional name="reference_source"> 145 <conditional name="reference_source">
147 <param name="reference_source_selector" value="history"/> 146 <param name="reference_source_selector" value="history"/>
148 <param name="ref_file" value="reference.fasta"/> 147 <param name="ref_file" value="reference.fasta"/>
149 </conditional> 148 </conditional>
150 <param name="output_insertions" value="false"/> 149 <param name="output_insertions" value="false"/>
151 <param name="sequences" value="subsampled.fasta"/> 150 <param name="input_fasta" value="subsampled.fasta" ftype="fasta" />
152 <conditional name="translation"> 151 <conditional name="translation">
153 <param name="translation_select" value="no"/> 152 <param name="translation_select" value="no"/>
154 </conditional> 153 </conditional>
155 <output name="output_fasta" file="output.fasta" sort="true"/> 154 <output name="output_fasta" file="output.fasta" sort="true"/>
156 </test> 155 </test>
161 <conditional name="reference_source"> 160 <conditional name="reference_source">
162 <param name="reference_source_selector" value="cached"/> 161 <param name="reference_source_selector" value="cached"/>
163 <param name="ref_file" value="reference_fasta"/> 162 <param name="ref_file" value="reference_fasta"/>
164 </conditional> 163 </conditional>
165 <param name="output_insertions" value="false"/> 164 <param name="output_insertions" value="false"/>
166 <param name="sequences" value="subsampled.fasta"/> 165 <param name="input_fasta" value="subsampled.fasta" ftype="fasta"/>
167 <conditional name="translation"> 166 <conditional name="translation">
168 <param name="translation_select" value="no"/> 167 <param name="translation_select" value="no"/>
169 </conditional> 168 </conditional>
170 <output name="output_fasta" file="output.fasta" sort="true"/> 169 <output name="output_fasta" file="output.fasta" sort="true"/>
171 </test> 170 </test>