comparison sina.xml @ 3:8afa8799d50f draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sina commit 8f89414ecee8120447febc2902ff1ddbbd71e638"
author iuc
date Fri, 02 Oct 2020 08:01:21 +0000
parents 49b937f12aa4
children 482052b30b78
comparison
equal deleted inserted replaced
2:49b937f12aa4 3:8afa8799d50f
1 <tool id="sina" name="SINA" version="@TOOL_VERSION@+@WRAPPER_VERSION@" profile="18.01"> 1 <tool id="sina" name="SINA" version="@TOOL_VERSION@+@WRAPPER_VERSION@" profile="18.01">
2 <description>reference based multiple sequence alignment</description> 2 <description>reference based multiple sequence alignment</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <token name="@TOOL_VERSION@">1.6.1</token>
5 <token name="@WRAPPER_VERSION@">galaxy0</token>
6 <xml name="minidty">
7 <param name="minidty" type="float" value="0.7" min="0.0" max="1.0" label="Exclude sequences sharing less than this value fractional identity with any of the alignment reference sequences from the output?" help="(--min-idty)"/>
8 </xml>
5 </macros> 9 </macros>
6 <expand macro="requirements"/> 10 <requirements>
7 <stdio></stdio> 11 <requirement type="package" version="@TOOL_VERSION@">sina</requirement>
12 </requirements>
13 <version_command>sina --version</version_command>
8 <command detect_errors="exit_code"><![CDATA[ 14 <command detect_errors="exit_code"><![CDATA[
9 ## initialize 15 ## initialize
10 ## parse custom reference from fasta to arb file format 16 ## parse custom reference from fasta to arb file format
11
12 #if $db.select == 'custom' 17 #if $db.select == 'custom'
13 #if $db.custom.ext == 'fasta' 18 #if $db.custom.ext == 'fasta'
14 sina -i '$db.custom' --prealigned -o reference.arb && 19 sina -i '$db.custom' --prealigned -o 'reference.arb' &&
15 #else 20 #else
16 ln -s '$db.custom' reference.arb && 21 ln -s '$db.custom' 'reference.arb' &&
17 #end if 22 #end if
18 #elif $db.select == 'local' 23 #elif $db.select == 'local'
19 ln -s '$db.arb_databases.fields.path' reference.arb && 24 ln -s '$db.arb_databases.fields.path' 'reference.arb' &&
20 #end if 25 #end if
21 26
22 ## run 27 ## run
23 sina 28 sina
24 --in='$in' 29 --in='$in'
25 --db=reference.arb 30 --db='reference.arb'
26 -p \${GALAXY_SLOTS:-4} 31 -p \${GALAXY_SLOTS:-4}
27 --num-pts=\${GALAXY_SLOTS:-4} 32 --num-pts=\${GALAXY_SLOTS:-4}
28
29 #if $os.type == 'arb' 33 #if $os.type == 'arb'
30 --outtype='arb' 34 --outtype='arb'
31 --out=output.arb 35 --out='output.arb'
32 #elif $os.type == 'fasta' 36 #elif $os.type == 'fasta'
33 --outtype='fasta' 37 --outtype='fasta'
34 --out=output.fasta 38 --out='output.fasta'
35 --min-idty=$os.minidty 39 --min-idty=$os.minidty
36 #elif $os.type == 'fasta_meta' 40 #elif $os.type == 'fasta_meta'
37 --outtype='fasta' 41 --outtype='fasta'
38 --out=output.fasta 42 --out='output.fasta'
39 --min-idty=$os.minidty 43 --min-idty=$os.minidty
40 --meta-fmt='csv' 44 --meta-fmt='csv'
41 #end if 45 #end if
42 #if $log == 'yes' 46 #if $log == 'yes'
43 --log-file=$logfile 47 --log-file='$logfile'
44 #elif $log == 'yes_meta' 48 #elif $log == 'yes_meta'
45 --log-file=$logfile 49 --log-file='$logfile'
46 --show-diff 50 --show-diff
47 #end if 51 #end if
48
49 ## Advanced alignment parameters 52 ## Advanced alignment parameters
50 --overhang=$ap.overhang 53 --overhang=$ap.overhang
51 --insertion=$ap.insertion 54 --insertion=$ap.insertion
52 #if $ap.turn == 'yes' 55 #if $ap.turn == 'yes'
53 -t 56 -t
54 #elif $ap.turn == 'all' 57 #elif $ap.turn == 'all'
55 -t all 58 -t all
56 #end if 59 #end if
57
58 ## Expert Alignment Parameters 60 ## Expert Alignment Parameters
59 --fs-min=$eap.fsmin 61 --fs-min=$eap.fsmin
60 --fs-max=$eap.fsmax 62 --fs-max=$eap.fsmax
61 --fs-msc=$eap.fsmsc 63 --fs-msc=$eap.fsmsc
62 --fs-weight=$eap.fsweight 64 --fs-weight=$eap.fsweight
72 --pen-gapext=$eap.pengapext 74 --pen-gapext=$eap.pengapext
73 --fs-kmer-len=$eap.fskmerlen 75 --fs-kmer-len=$eap.fskmerlen
74 --fs-kmer-mm=$eap.fskmermm 76 --fs-kmer-mm=$eap.fskmermm
75 $eap.fskmernofast 77 $eap.fskmernofast
76 $eap.fskmernorel 78 $eap.fskmernorel
77
78 ## Advanced search and classification parameters 79 ## Advanced search and classification parameters
79 #if $asacp.activate == 'yes' 80 #if $asacp.activate == 'yes'
80 --search 81 --search
81 --search-kmer-candidates=$asacp.searchkmercandidates 82 --search-kmer-candidates=$asacp.searchkmercandidates
82 --lca-quorum=$asacp.lcaquorum 83 --lca-quorum=$asacp.lcaquorum
84 --search-kmer-mm=$asacp.searchkmermm 85 --search-kmer-mm=$asacp.searchkmermm
85 --search-max-result=$asacp.searchmaxresult 86 --search-max-result=$asacp.searchmaxresult
86 $asacp.searchnofast 87 $asacp.searchnofast
87 $asacp.searchkmernorel 88 $asacp.searchkmernorel
88 #end if 89 #end if
89
90 ## convert meta file to tabular 90 ## convert meta file to tabular
91 #if $os.type == 'fasta_meta' 91 #if $os.type == 'fasta_meta'
92 && cat output.csv | sed 's/,/\t/g' > output.tsv 92 && cat output.csv | sed 's/,/\t/g' > output.tsv
93 #end if 93 #end if
94 ]]></command> 94 ]]></command>
95 <!-- Sections and default parameters are based on https://www.arb-silva.de/aligner --> 95 <!-- Sections and default parameters are based on https://www.arb-silva.de/aligner -->
96 <inputs> 96 <inputs>
97 <param argument="--in" type="data" format="fasta" multiple="false" label="Sequence file" help="FASTA file format"/> 97 <param argument="--in" type="data" format="fasta" label="Select sequence file" help="FASTA file format"/>
98 <conditional name="db"> 98 <conditional name="db">
99 <param name="select" type="select" label="Reference library type" help=""> 99 <param name="select" type="select" label="Select reference library type">
100 <option value="custom" selected="true">Custom</option> 100 <option value="custom" selected="true">Custom</option>
101 <option value="local">Local cached</option> 101 <option value="local">Local cached</option>
102 </param> 102 </param>
103 <when value="custom"> 103 <when value="custom">
104 <param name="custom" type="data" format="data" label="Reference library file" help="FASTA or ARB file format (--db)"/> 104 <param name="custom" type="data" format="data" label="Select reference library file" help="FASTA or ARB file format (--db)"/>
105 </when> 105 </when>
106 <when value="local"> 106 <when value="local">
107 <param name="arb_databases" type="select" label="Local cached libraries" help=""> 107 <param name="arb_databases" type="select" label="Select local cached library">
108 <options from_data_table="sina_references"> 108 <options from_data_table="sina_references">
109 <validator message="No database is available" type="no_options"/> 109 <validator message="No database is available" type="no_options"/>
110 </options> 110 </options>
111 </param> 111 </param>
112 </when> 112 </when>
113 </conditional> 113 </conditional>
114 <conditional name="asacp"> 114 <conditional name="asacp">
115 <param name="activate" type="select" label="Enable search stage" help="(--search)"> 115 <param name="activate" type="select" label="Enable search stage?" help="(--search)">
116 <option value="no">No</option> 116 <option value="no">No</option>
117 <option value="yes">Yes</option> 117 <option value="yes">Yes</option>
118 </param> 118 </param>
119 <when value="no"></when> 119 <when value="no"></when>
120 <when value="yes"> 120 <when value="yes">
121 <param name="searchkmercandidates" type="integer" value="1000" label="Set number of candidate reference sequences retrieved from the k-mer based search." help="For each candidate, the MSA based similarity is calculated and the search result based on these numbers. A value for n one or two orders larger than --search-max-result is usually quite sufficient. (--search-kmer-candidates)"/> 121 <param name="searchkmercandidates" type="integer" value="1000" label="Set number of candidate reference sequences retrieved from the k-mer based search" help="For each candidate, the MSA based similarity is calculated and the search result based on these numbers. A value for n one or two orders larger than --search-max-result is usually quite sufficient. (--search-kmer-candidates)"/>
122 <param name="lcaquorum" type="float" value="0.8" min="0.0" max="1.0" label="Fraction of the search result that must share the same classification" help="Using the default parameters --search-max-result=10 and --lca-quorum=0.7, this means that the deepest classification shared by 7 out of the top 10 search results is chosen for the query sequence. (--lca-quorum)"/> 122 <param name="lcaquorum" type="float" value="0.8" min="0.0" max="1.0" label="Set fraction of the search result that must share the same classification" help="Using the default parameters --search-max-result=10 and --lca-quorum=0.7, this means that the deepest classification shared by 7 out of the top 10 search results is chosen for the query sequence. (--lca-quorum)"/>
123 <param name="searchkmerlen" type="integer" value="10" min="0" label="Set k for the kmer based candidate search." help="See --fs-kmer-len. (--search-kmer-len)"/> 123 <param name="searchkmerlen" type="integer" value="10" min="0" label="Set k for the kmer based candidate search" help="See --fs-kmer-len. (--search-kmer-len)"/>
124 <param name="searchkmermm" type="integer" value="0" min="0" label="Set the number of allowed mismatches within each kmer." help="See --fs-kmer-mm. (--search-kmer-mm)"/> 124 <param name="searchkmermm" type="integer" value="0" min="0" label="Set number of allowed mismatches within each kmer" help="See --fs-kmer-mm. (--search-kmer-mm)"/>
125 <param name="searchnofast" type="boolean" truevalue="--search-no-fast" falsevalue="" checked="true" label="Skip fast family search." help="This option configures the same behavior for the search stage. See --fs-kmer-no-fast. (--search-no-fast)"/> 125 <param name="searchnofast" type="boolean" truevalue="--search-no-fast" falsevalue="" checked="true" label="Skip fast family search?" help="This option configures the same behavior for the search stage. See --fs-kmer-no-fast. (--search-no-fast)"/>
126 <param name="searchkmernorel" type="boolean" truevalue="--search-kmer-norel" falsevalue="" checked="false" label="Configures the candidate search to use absolute rather than length-relative scores for ordering the results." help="See --fs-kmer-norel. ( --search-kmer-norel)"/> 126 <param name="searchkmernorel" type="boolean" truevalue="--search-kmer-norel" falsevalue="" checked="false" label="Configures the candidate search to use absolute rather than length-relative scores for ordering the results?" help="See --fs-kmer-norel. ( --search-kmer-norel)"/>
127 <param name="searchmaxresult" type="integer" value="10" min="0" label="The maximum number of search results to return for each query sequence." help="(--search-max-result)"/> 127 <param name="searchmaxresult" type="integer" value="10" min="0" label="Set maximum number of search results to return for each query sequence" help="(--search-max-result)"/>
128 </when> 128 </when>
129 </conditional> 129 </conditional>
130 <conditional name="os"> 130 <conditional name="os">
131 <param name="type" type="select" label="Output file type" help="(--outtype)"> 131 <param name="type" type="select" label="Select output file type" help="(--outtype)">
132 <option value="fasta">FASTA</option> 132 <option value="fasta">FASTA</option>
133 <option value="fasta_meta">FASTA with meta-file</option> 133 <option value="fasta_meta">FASTA with meta-file</option>
134 <option value="arb">ARB</option> 134 <option value="arb">ARB</option>
135 </param> 135 </param>
136 <when value="fasta"> 136 <when value="fasta">
137 <param name="minidty" type="float" value="0.7" min="0.0" max="1.0" label="Exclude sequences sharing less than this value fractional identity with any of the alignment reference sequences from the output." help="(--min-idty)"/> 137 <expand macro="minidty"/>
138 </when> 138 </when>
139 <when value="fasta_meta"> 139 <when value="fasta_meta">
140 <param name="minidty" type="float" value="0.7" min="0.0" max="1.0" label="Exclude sequences sharing less than this value fractional identity with any of the alignment reference sequences from the output." help="(--min-idty)"/> 140 <expand macro="minidty"/>
141 </when> 141 </when>
142 <when value="arb"/> 142 <when value="arb"/>
143 </conditional> 143 </conditional>
144 <param name="log" type="select" label="Create log file" help="(--log-file, --show-diff)"> 144 <param name="log" type="select" label="Create log file?" help="(--log-file, --show-diff)">
145 <option value="no">no</option> 145 <option value="no">no</option>
146 <option value="yes">yes</option> 146 <option value="yes">yes</option>
147 <option value="yes_meta">yes with differences between the inferred alignment and the original alignment</option> 147 <option value="yes_meta">yes with differences between the inferred alignment and the original alignment</option>
148 </param> 148 </param>
149 <section name="ap" title="Alignment parameters"> 149 <section name="ap" title="Alignment parameters">
150 <param argument="--overhang" type="select" label="Bases remaining unaligned at the ends should be" help=""> 150 <param argument="--overhang" type="select" label="Bases remaining unaligned at the ends should be">
151 <option value="attach">attached to the last aligned base.</option> 151 <option value="attach">attached to the last aligned base</option>
152 <option value="edge">moved to the edge of the alignment.</option> 152 <option value="edge">moved to the edge of the alignment</option>
153 <!-- maybe broken, see https://sina.readthedocs.io/en/latest/commandline.html#alignment-options --> 153 <!-- maybe broken, see https://sina.readthedocs.io/en/latest/commandline.html#alignment-options -->
154 <option value="remove">removed.</option> 154 <option value="remove">removed</option>
155 </param> 155 </param>
156 <param argument="--insertion" type="select" label="Insertions wider than available columns should be"> 156 <param argument="--insertion" type="select" label="Insertions wider than available columns should be">
157 <option value="forbid">forbidden during alignment.</option> 157 <option value="forbid">forbidden during alignment</option>
158 <option value="shift">accomodated by pushing out surrounding bases.</option> 158 <option value="shift">accomodated by pushing out surrounding bases</option>
159 <option value="remove">removed.</option> 159 <option value="remove">removed</option>
160 </param> 160 </param>
161 <param argument="--turn" type="select" label="Enable turn check stage" help="Sequences not oriented in accordance with the reference database will be reverse complemented as needed. If all is specified, sequences will also be tested for only reversal or only complemented (this should only be necessary if your data was mishandled)."> 161 <param argument="--turn" type="select" label="Enable turn check stage?" help="Sequences not oriented in accordance with the reference database will be reverse complemented as needed. If all is specified, sequences will also be tested for only reversal or only complemented (this should only be necessary if your data was mishandled).">
162 <option value="yes">Yes</option> 162 <option value="yes">Yes</option>
163 <option value="no">No</option> 163 <option value="no">No</option>
164 <option value="all">All</option> 164 <option value="all">All</option>
165 </param> 165 </param>
166 </section> 166 </section>
167 <section name="eap" title="Expert alignment parameters"> 167 <section name="eap" title="Expert alignment parameters">
168 <param name="fsmin" type="integer" value="15" min="0" label="Minimum number of reference sequences used for each query" help="(--fs-min)"/> 168 <param name="fsmin" type="integer" value="15" min="0" label="Set minimum number of reference sequences used for each query" help="(--fs-min)"/>
169 <param name="fsmax" type="integer" value="40" min="0" label="Maximum number of reference sequences used for each query" help="(--fs-max)"/> 169 <param name="fsmax" type="integer" value="40" min="0" label="Set maximum number of reference sequences used for each query" help="(--fs-max)"/>
170 <param name="fsmsc" type="float" value="0.7" min="0.0" max="1.0" label="Minimum similarity reference sequences" help="Required to have with the query sequence. This affects the range between --fs-min and --fs-max(--fs-msc)"/> 170 <param name="fsmsc" type="float" value="0.7" min="0.0" max="1.0" label="Set minimum similarity reference sequences" help="Required to have with the query sequence. This affects the range between --fs-min and --fs-max(--fs-msc)"/>
171 <param name="fsweight" type="integer" value="1" min="0" label="Adjust the weight factor for the frequency at which a node was observed in the reference alignment." help="Use 0 to disable weighting. This feature prefers the more common placement for bases with inconsistent alignment in the reference database. (--fs-weight)"/> 171 <param name="fsweight" type="integer" value="1" min="0" label="Set weight factor for the frequency at which a node was observed in the reference alignment" help="Use 0 to disable weighting. This feature prefers the more common placement for bases with inconsistent alignment in the reference database. (--fs-weight)"/>
172 <param name="fsreq" type="integer" value="1" min="0" label="Minimum number of reference sequences that must be found in order to attempt alignment" help="If fewer sequences than indicated here are found, the respective query sequence will be discarded. (--fs-req)"/> 172 <param name="fsreq" type="integer" value="1" min="0" label="Set minimum number of reference sequences that must be found in order to attempt alignment" help="If fewer sequences than indicated here are found, the respective query sequence will be discarded. (--fs-req)"/>
173 <param name="fsreqfull" type="integer" value="1" min="0" label="Minimum number of full length reference sequences that must be included in the selected reference set" help="The search will proceed regardless of other settings until this setting has been satisfied. If it cannot be satisfied by any sequence in the reference database, the query sequence will be discarded. This setting exists to ensure that the entire length of the query sequence will be covered in the presence of partial sequences contained within your reference database. Note: If you are working with sequences other than 16S, you need to adjust this value or the value of --fs-full-len accordingly. In particular when working with short reference sequences, this setting may prevent any acceptable reference sequences from being found, leading to no sequences being aligned. (--fs-req-full)"/> 173 <param name="fsreqfull" type="integer" value="1" min="0" label="Set minimum number of full length reference sequences that must be included in the selected reference set" help="The search will proceed regardless of other settings until this setting has been satisfied. If it cannot be satisfied by any sequence in the reference database, the query sequence will be discarded. This setting exists to ensure that the entire length of the query sequence will be covered in the presence of partial sequences contained within your reference database. Note: If you are working with sequences other than 16S, you need to adjust this value or the value of --fs-full-len accordingly. In particular when working with short reference sequences, this setting may prevent any acceptable reference sequences from being found, leading to no sequences being aligned. (--fs-req-full)"/>
174 <param name="fsfulllen" type="integer" value="1400" min="0" label="Minimum length a sequence is required to have to be considered full length" help="(--fs-full-len)"/> 174 <param name="fsfulllen" type="integer" value="1400" min="0" label="Set minimum length a sequence is required to have to be considered full length" help="(--fs-full-len)"/>
175 <param name="genestart" type="integer" value="0" min="0" label="Sets the beginning of the gene within the reference alignment." help="See --fs-cover-gene. (--gene-start)"/> 175 <param name="genestart" type="integer" value="0" min="0" label="Set beginning of the gene within the reference alignment" help="See --fs-cover-gene. (--gene-start)"/>
176 <param name="geneend" type="integer" value="0" min="0" label="Sets the end of the gene within the reference alignment." help="See --fs-cover-gene. (--gene-end)"/> 176 <param name="geneend" type="integer" value="0" min="0" label="Set end of the gene within the reference alignment" help="See --fs-cover-gene. (--gene-end)"/>
177 <param name="fscovergene" type="integer" value="0" label="Require total of n sequences to cover each the beginning and the end of the gene within the alignment." help="Similar to --fs-req-full. This option is more precise than --fs-req-full, but requires that the column numbers for the range in which the full gene is expected be specified via --gene-start and --gene-end. (--fs-cover-gene)"/> 177 <param name="fscovergene" type="integer" value="0" label="Set total of n sequences to cover each the beginning and the end of the gene within the alignment" help="Similar to --fs-req-full. This option is more precise than --fs-req-full, but requires that the column numbers for the range in which the full gene is expected be specified via --gene-start and --gene-end. (--fs-cover-gene)"/>
178 <param name="matchscore" type="integer" value="2" min="0" label="Score given for a match" help="(--match-score)"/> 178 <param name="matchscore" type="integer" value="2" min="0" label="Set score given for a match" help="(--match-score)"/>
179 <param name="mismatchscore" type="integer" value="-1" max="0" label="Score given for a mismatch" help="(--mismatch-score)"/> 179 <param name="mismatchscore" type="integer" value="-1" max="0" label="Set score given for a mismatch" help="(--mismatch-score)"/>
180 <param name="pengap" type="integer" value="5" min="0" label="Set the penalty subtracted from the score for opening a gap." help="(--pen-gap)"/> 180 <param name="pengap" type="integer" value="5" min="0" label="Set penalty subtracted from the score for opening a gap" help="(--pen-gap)"/>
181 <param name="pengapext" type="integer" value="2" min="0" label="Set the penalty subtracted from the score for extending a gap." help="(--pen-gapext)"/> 181 <param name="pengapext" type="integer" value="2" min="0" label="Set penalty subtracted from the score for extending a gap" help="(--pen-gapext)"/>
182 <param name="fskmerlen" type="integer" value="10" min="0" label="Size of k for the reference search" help="For SSU rRNA sequences, the default of 10 is a good value. For different sequence types, different values may perform better. For 5S, for example, 6 has shown to be more effective. (--fs-kmer-len)"/> 182 <param name="fskmerlen" type="integer" value="10" min="0" label="Set size of k for the reference search" help="For SSU rRNA sequences, the default of 10 is a good value. For different sequence types, different values may perform better. For 5S, for example, 6 has shown to be more effective. (--fs-kmer-len)"/>
183 <param name="fskmermm" type="integer" value="0" min="0" label="Allow k-mer matches in the reference database to contain this number of mismatches." help=" (--fs-kmer-mm)"/> 183 <param name="fskmermm" type="integer" value="0" min="0" label="Set k-mer matches in the reference database to contain this number of mismatches" help=" (--fs-kmer-mm)"/>
184 <param name="fskmernofast" type="boolean" truevalue="--fs-kmer-no-fast" falsevalue="" checked="false" label="Use all k-mers occurring in the query sequence in the search." help="By default, only k-mers starting with an A are used for extra performance. (--fs-kmer-no-fast)"/> 184 <param name="fskmernofast" type="boolean" truevalue="--fs-kmer-no-fast" falsevalue="" label="Use all k-mers occurring in the query sequence in the search?" help="By default, only k-mers starting with an A are used for extra performance. (--fs-kmer-no-fast)"/>
185 <param name="fskmernorel" type="boolean" truevalue="--fs-kmer-norel" falsevalue="" checked="false" label="Use absolute match scores in the kmer search." help="Absolute (number of shared k-mers) rather than relative (number or shared k-mers divided by length of reference sequence) (--fs-kmer-norel)"/> 185 <param name="fskmernorel" type="boolean" truevalue="--fs-kmer-norel" falsevalue="" label="Use absolute match scores in the kmer search?" help="Absolute (number of shared k-mers) rather than relative (number or shared k-mers divided by length of reference sequence) (--fs-kmer-norel)"/>
186 </section> 186 </section>
187 </inputs> 187 </inputs>
188 <outputs> 188 <outputs>
189 <data name="output_fasta" format="fasta" from_work_dir="output.fasta" label="${tool.name} on ${on_string}: alignment"> 189 <data name="output_fasta" format="fasta" from_work_dir="output.fasta" label="${tool.name} on ${on_string}: alignment">
190 <filter>os['type'] == 'fasta' or os['type'] == 'fasta_meta'</filter> 190 <filter>os['type'] == 'fasta' or os['type'] == 'fasta_meta'</filter>
232 <param name="custom" value="reference.fasta"/> 232 <param name="custom" value="reference.fasta"/>
233 </conditional> 233 </conditional>
234 <section name="os"> 234 <section name="os">
235 <param name="type" value="arb"/> 235 <param name="type" value="arb"/>
236 </section> 236 </section>
237 <output name="output_arb" file="output_fasta_fasta.arb" compare="sim_size" delta="100"/> 237 <output name="output_arb">
238 <assert_contents>
239 <has_size value="21369"/>
240 </assert_contents>
241 </output>
238 </test> 242 </test>
239 <!-- #3 in: *.fasta; db: *.arb; out: *.fasta; standard parameters --> 243 <!-- #3 in: *.fasta; db: *.arb; out: *.fasta; standard parameters -->
240 <test> 244 <test>
241 <param name="in" value="sequence.fasta"/> 245 <param name="in" value="sequence.fasta"/>
242 <conditional name="db"> 246 <conditional name="db">
267 <param name="custom" value="reference.arb"/> 271 <param name="custom" value="reference.arb"/>
268 </conditional> 272 </conditional>
269 <section name="os"> 273 <section name="os">
270 <param name="type" value="arb"/> 274 <param name="type" value="arb"/>
271 </section> 275 </section>
272 <output name="output_arb" file="output_fasta_arb.arb" compare="sim_size" delta="1000"/> 276 <output name="output_arb">
277 <assert_contents>
278 <has_size value="19999"/>
279 </assert_contents>
280 </output>
273 </test> 281 </test>
274 <!-- #5 in: *.fasta; db: *.arb; out: *.fasta; custom parameters --> 282 <!-- #5 in: *.fasta; db: *.arb; out: *.fasta; custom parameters -->
275 <test> 283 <test>
276 <param name="in" value="sequence.fasta"/> 284 <param name="in" value="sequence.fasta"/>
277 <conditional name="db"> 285 <conditional name="db">
331 <param name="arb_databases" value="testarb"/> 339 <param name="arb_databases" value="testarb"/>
332 </conditional> 340 </conditional>
333 <section name="os"> 341 <section name="os">
334 <param name="type" value="arb"/> 342 <param name="type" value="arb"/>
335 </section> 343 </section>
336 <output name="output_arb" file="output_fasta_arb.arb" compare="sim_size" delta="1000"/> 344 <output name="output_arb">
345 <assert_contents>
346 <has_size value="19999"/>
347 </assert_contents>
348 </output>
337 </test> 349 </test>
338 </tests> 350 </tests>
339
340 <help><![CDATA[ 351 <help><![CDATA[
341 .. class:: infomark 352 .. class:: infomark
342 353
343 **What it does** 354 **What it does**
344 355
348 359
349 SINA is used to compute the large and small subunit ribosomal RNA alignments provided by the `SILVA project <https://www.arb-silva.de/>`_ and is able to use the `ARB format reference databases <https://www.arb-silva.de/download/arb-files/>`_ released by the project. 360 SINA is used to compute the large and small subunit ribosomal RNA alignments provided by the `SILVA project <https://www.arb-silva.de/>`_ and is able to use the `ARB format reference databases <https://www.arb-silva.de/download/arb-files/>`_ released by the project.
350 361
351 **Input** 362 **Input**
352 363
353 SINA requires sequences in FASTA file format, whereas libraries can be also provided as ARB files. Furthermore, reference databases can be added as data tables. See README.md for more information. 364 SINA requires sequences in FASTA file format, whereas libraries can be also provided as ARB files. Furthermore, reference databases can be added as data tables. See README.rst for more information.
354 365
355 **Output** 366 **Output**
356 367
357 Results are provided in FASTA or ARB file format, whereas additional metadata is provided as CSV. 368 Results are provided in FASTA or ARB file format, whereas additional metadata is provided as CSV.
358 369