annotate find_subsequences.xml @ 0:9bc84bbab418 draft

Uploaded
author bgruening
date Thu, 19 Mar 2015 09:40:43 -0400
parents
children decaf3f8fec9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
1 <tool id="bg_find_subsequences" name="Subsequence search" version="0.1">
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
2 <description>providing regions in BED format</description>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
3 <requirements>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
4 <requirement type="package" version="1.6.5">biopyhon</requirement>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
5 </requirements>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
6 <command interpreter="python">
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
7 <![CDATA[
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
8 find_subsequences.py
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
9 --input $input
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
10 --output $output
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
11 --pattern "$pattern"
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
12 #if $input.ext == 'fasta':
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
13 --format 'fasta'
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
14 #else:
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
15 --format 'fastq'
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
16 #end if
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
17 ]]>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
18 </command>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
19 <inputs>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
20 <param format="fasta,fastq" name="input" type="data" label="Sequence to be searched"
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
21 help="This can be in FASTA or FASTQ format." />
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
22 <param name="pattern" type="text" value="" label="Search pattern" help="For example GGATCC for BamH1.">
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
23 <validator type="regex" message="Only letters are allowed.">^[a-zA-Z]+$</validator>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
24 </param>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
25 </inputs>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
26 <outputs>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
27 <data format="bed" name="output" />
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
28 </outputs>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
29 <tests>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
30 <test>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
31 <param name="input" value="find_subsequences_input1.fasta" ftype="fasta"/>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
32 <param name="pattern" value="atcg"/>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
33 <output name="output" file="find_subsequences_simple_result1.bed" ftype="bed"/>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
34 </test>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
35 <test>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
36 <param name="input" value="find_subsequences_input1.fasta" ftype="fasta"/>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
37 <param name="pattern" value="atnncg"/>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
38 <output name="output" file="find_subsequences_advanced_result1.bed" ftype="bed"/>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
39 </test>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
40 </tests>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
41 <help>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
42 <![CDATA[
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
43
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
44 **What it does**
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
45
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
46 Searches for a subsequence in a larger sequence. For example to get all restriction enzymes for BamH1.
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
47
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
48 If you are searching in a DNA sequence you can use ambiguous values using the standard
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
49 `nucleotide ambiguity code <http://www.dnabaser.com/articles/IUPAC%20ambiguity%20codes.html>`_.
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
50
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
51 This tool is searching on both strands.
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
52
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
53 ]]>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
54 </help>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
55 <citations>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
56 <citation type="doi">10.1093/bioinformatics/btp163</citation>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
57 </citations>
9bc84bbab418 Uploaded
bgruening
parents:
diff changeset
58 </tool>