annotate primer_search.xml @ 0:1f4836da4a14 draft default tip

planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
author bvalot
date Tue, 14 Jun 2022 08:52:22 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
1 <tool id="primer_search_wrapper" name="Primer Search" version="0.1">
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
2 <description></description>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
3 <requirements>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
4 <requirement type="package" version="1.28">gassst</requirement>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
5 <requirement type="package" version="1.78">biopython</requirement>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
6 </requirements>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
7 <stdio>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
8 <exit_code range="1:" level="fatal" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
9 </stdio>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
10 <version_command>$__tool_directory__/primer_search.py -v</version_command>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
11 <command>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
12 $__tool_directory__/primer_search.py -o $output
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
13 #if str($error)
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
14 -e $error
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
15 #end if
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
16 #if str($min)
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
17 -m $min
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
18 #end if
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
19 #if str($max)
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
20 -M $max
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
21 #end if
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
22 #if $keep
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
23 -k
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
24 #end if
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
25 #if $remove
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
26 -r
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
27 #end if
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
28 $forward $reverse $database 2> $logfile
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
29 </command>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
30 <inputs>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
31 <param name="database" type="data" format="fasta" label="Database to search on fasta" help="FASTA format" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
32 <param name="forward" type="text" value="" optional="false" size="50"
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
33 label="Forward primer sequence"
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
34 help="DNA sequence, letters corresponding to multiple nucleotide allowed" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
35 <param name="reverse" type="text" value="" optional="false" size="50"
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
36 label="Reverse primer sequence"
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
37 help="DNA sequence, letters corresponding to multiple nucleotide allowed" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
38 <param name="error" type="integer" value="1" optional="true"
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
39 label="Maximun error allowed on match" help="Number of mismatch allowed for each primer" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
40 <param name="min" type="integer" value="100" optional="true"
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
41 label="Min len amplicon size" help="Only amplicon with this minimun length were reported" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
42 <param name="max" type="integer" value="1500" optional="true"
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
43 label="Max len amplicon size" help="Only amplicon with this maximun length were reported" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
44 <param name="keep" type="boolean" checked="false"
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
45 label="If set, Keep description instead of report PCR position" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
46 <param name="remove" type="boolean" checked="false"
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
47 label="If set, remove primer sequance from reported amplicons" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
48 </inputs>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
49 <outputs>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
50 <data name="logfile" format="txt" label="${tool.name} on ${on_string}: log" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
51 <data name="output" format="fasta" label="${tool.name} on ${on_string}: fasta" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
52 </outputs>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
53 <tests>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
54 <test expect_num_outputs="2">
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
55 <param name="database" value="input.fasta" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
56 <param name="forward" value="ACCTGGTGTACGCCTCGCTGAC" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
57 <param name="reverse" value="GACATAGATGCCCTGCCCCTTGAT" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
58 <param name="error" value="2" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
59 <output name="output" file="pcr.fasta" ftype="fasta" />
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
60 </test>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
61 </tests>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
62 <help>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
63 **What it does**
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
64
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
65 Search primer on database and return amplicons on fasta format.
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
66
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
67 **License and citation**
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
68
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
69 This Galaxy tool is Copyright © 2018 `B. Valot` and is released under the `GPL3 license`.
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
70
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
71 This tool uses Gassst, which is licensed separately.
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
72 Please cite: Rizk G. and Dominique Lavenier D. (2010) GASSST: global alignment short sequence search tool. *Bioinformatics* 26(20), 2534-2540.
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
73 http://www.irisa.fr/symbiose/projects/gassst/
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
74 </help>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
75 <citations>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
76 <citation type="doi">10.1093/bioinformatics/btq485</citation>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
77 </citations>
1f4836da4a14 planemo upload for repository https://github.com/bvalot/galaxy commit d57c24d4b2c0c741d572af9ca0d09f8b82689640
bvalot
parents:
diff changeset
78 </tool>