Mercurial > repos > bgruening > find_subsequences
comparison find_subsequences.xml @ 1:d882a0a75759 draft default tip
Uploaded
author | bgruening |
---|---|
date | Fri, 10 Apr 2015 06:49:30 -0400 |
parents | 7f39014f9404 |
children |
comparison
equal
deleted
inserted
replaced
0:7f39014f9404 | 1:d882a0a75759 |
---|---|
1 <tool id="bg_find_subsequences" name="Nucleotide subsequence search" version="0.1"> | 1 <tool id="bg_find_subsequences" name="Nucleotide subsequence search" version="0.2"> |
2 <description>providing regions in BED format</description> | 2 <description>providing regions in BED format</description> |
3 <requirements> | 3 <requirements> |
4 <requirement type="package" version="1.65">biopython</requirement> | 4 <requirement type="package" version="1.65">biopython</requirement> |
5 </requirements> | 5 </requirements> |
6 <command interpreter="python"> | 6 <command interpreter="python"> |
7 <![CDATA[ | 7 <![CDATA[ |
8 find_subsequences.py | 8 find_subsequences.py |
9 --input $input | 9 --input "${input}" |
10 --output $output | 10 --output "${output}" |
11 --pattern "$pattern_conditional.pattern" | 11 --pattern "$pattern_conditional.pattern" |
12 #if $input.ext == 'fasta': | 12 #if $input.ext == 'fasta': |
13 --format 'fasta' | 13 --format 'fasta' |
14 #else: | 14 #else: |
15 --format 'fastq' | 15 --format 'fastq' |
16 #end if | 16 #end if |
17 --strand '$strand' | |
17 ]]> | 18 ]]> |
18 </command> | 19 </command> |
19 <inputs> | 20 <inputs> |
20 <param format="fasta,fastq" name="input" type="data" label="Nucleotide sequence to be searched" | 21 <param format="fasta,fastq" name="input" type="data" label="Nucleotide sequence to be searched" |
21 help="This can be in FASTA or FASTQ format." /> | 22 help="This can be in FASTA or FASTQ format." /> |
246 <param name="pattern" type="text" value="" label="Search pattern" help="For example GGATCC for BamHI."> | 247 <param name="pattern" type="text" value="" label="Search pattern" help="For example GGATCC for BamHI."> |
247 <validator type="regex" message="Only letters are allowed.">^[a-zA-Z]+$</validator> | 248 <validator type="regex" message="Only letters are allowed.">^[a-zA-Z]+$</validator> |
248 </param> | 249 </param> |
249 </when> | 250 </when> |
250 </conditional> | 251 </conditional> |
252 <param name="strand" type="select" label="Search pattern on"> | |
253 <option value='both'>both strands</option> | |
254 <option value='forward'>forward strand</option> | |
255 <option value='reverse'>reverse strand</option> | |
256 </param> | |
251 </inputs> | 257 </inputs> |
252 <outputs> | 258 <outputs> |
253 <data format="bed" name="output" /> | 259 <data format="bed" name="output" /> |
254 </outputs> | 260 </outputs> |
255 <tests> | 261 <tests> |
268 <test> | 274 <test> |
269 <param name="input" value="find_subsequences_input1.fasta" ftype="fasta"/> | 275 <param name="input" value="find_subsequences_input1.fasta" ftype="fasta"/> |
270 <param name="pattern" value="atnncg"/> | 276 <param name="pattern" value="atnncg"/> |
271 <param name="pattern_conditional_select" value="user"/> | 277 <param name="pattern_conditional_select" value="user"/> |
272 <output name="output" file="find_subsequences_advanced_result1.bed" ftype="bed"/> | 278 <output name="output" file="find_subsequences_advanced_result1.bed" ftype="bed"/> |
279 </test> | |
280 <test> | |
281 <param name="input" value="find_subsequences_input1.fasta" ftype="fasta"/> | |
282 <param name="pattern" value="atnncg"/> | |
283 <param name="strand" value="reverse"/> | |
284 <param name="pattern_conditional_select" value="user"/> | |
285 <output name="output" file="find_subsequences_advanced_result2.bed" ftype="bed"/> | |
286 </test> | |
287 <test> | |
288 <param name="input" value="find_subsequences_input1.fasta" ftype="fasta"/> | |
289 <param name="pattern" value="atnncg"/> | |
290 <param name="strand" value="forward"/> | |
291 <param name="pattern_conditional_select" value="user"/> | |
292 <output name="output" file="find_subsequences_advanced_result3.bed" ftype="bed"/> | |
273 </test> | 293 </test> |
274 </tests> | 294 </tests> |
275 <help> | 295 <help> |
276 <![CDATA[ | 296 <![CDATA[ |
277 | 297 |