Mercurial > repos > mbernt > fasta_regex_finder
annotate fastaregexfinder.xml @ 0:269c627ae9f4 draft
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
author | mbernt |
---|---|
date | Wed, 20 Jun 2018 11:06:57 -0400 |
parents | |
children | 9a811adb714f |
rev | line source |
---|---|
0
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
1 <tool id="fasta_regex_finder" name="fasta_regex_finder" version="0.1.0"> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
2 <description> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
3 Search in fasta for regexp match |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
4 </description> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
5 <requirements> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
6 </requirements> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
7 <version_command>python $__tool_directory__/fastaregexfinder.py --version</version_command> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
9 python $__tool_directory__/fastaregexfinder.py |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
10 --fasta "$input" |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
11 --regex "$regex" |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
12 #if $settings.advanced == "advanced" |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
13 $settings.matchcase |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
14 $settings.noreverse |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
15 --maxstr $settings.maxstr |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
16 #if $settings.seqnames != "" |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
17 --seqnames $settings.seqnames |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
18 #end if |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
19 #end if |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
20 --quiet |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
21 > $output |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
22 ]]></command> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
23 <inputs> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
24 <param type="data" name="input" format="fasta" /> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
25 <param name="regex" size="30" type="text" value="([gG]{3,}\w{1,7}){3,}[gG]{3,}" label="Regular expression" help="(--regex)"> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
26 <sanitizer> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
27 <valid initial="string.printable"> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
28 <remove value="'"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
29 </valid> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
30 <mapping initial="none"> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
31 <add source="'" target="__sq__"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
32 </mapping> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
33 </sanitizer> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
34 </param> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
35 <conditional name="settings"> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
36 <param name="advanced" type="select" label="Specify advanced parameters"> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
37 <option value="simple" selected="true">No, use program defaults.</option> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
38 <option value="advanced">Yes, see full parameter list.</option> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
39 </param> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
40 <when value="simple"> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
41 </when> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
42 <when value="advanced"> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
43 <param name="matchcase" type="boolean" label="Match case" truevalue="--matchcase" falsevalue="" help="(--matchcase)" /> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
44 <param name="noreverse" type="boolean" label="Do not search the reverse complement" truevalue="--noreverse" falsevalue="" help="(--noreverse)" /> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
45 <param name="maxstr" type="integer" label="Maximum length of the match to report" value="10000" min="1" help="(--maxstr)" /> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
46 <param name="seqnames" size="30" type="text" value="" label="Space separated list of fasta sequences to search" help="--seqnames"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
47 </when> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
48 </conditional> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
49 </inputs> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
50 <outputs> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
51 <data name="output" format="bed" from_work_dir="TestSeqGroup-G4.bed" /> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
52 </outputs> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
53 <tests> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
54 <test> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
55 <param name="input" value="TestSeqGroup-G4.fasta"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
56 <output name="output" file="TestSeqGroup-G4.bed"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
57 </test> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
58 <test> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
59 <param name="input" value="test.fas"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
60 <param name="regex" value="ACTG"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
61 <output name="output" file="test-1.bed"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
62 </test> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
63 <test> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
64 <param name="input" value="test.fas"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
65 <param name="regex" value="ACTG"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
66 <param name="advanced" value="advanced"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
67 <param name="matchcase" value="--matchcase"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
68 <output name="output" file="test-2.bed"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
69 </test> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
70 <test> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
71 <param name="input" value="test.fas"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
72 <param name="regex" value="ACTG"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
73 <param name="advanced" value="advanced"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
74 <param name="noreverse" value="--noreverse"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
75 <output name="output" file="test-3.bed"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
76 </test> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
77 <test> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
78 <param name="input" value="test.fas"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
79 <param name="regex" value="ACTG"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
80 <param name="advanced" value="advanced"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
81 <param name="maxstr" value="3"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
82 <output name="output" file="test-4.bed"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
83 </test> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
84 <test> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
85 <param name="input" value="TestSeqGroup-G4.fasta"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
86 <param name="advanced" value="advanced"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
87 <param name="seqnames" value="HJ24-Shp2_oncogenicProtein2 HJ24-Shp2_oncogenicProtein"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
88 <output name="output" file="TestSeqGroup-G4-sub.bed"/> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
89 </test> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
90 </tests> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
91 <help><![CDATA[ |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
92 DESCRIPTION |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
93 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
94 Search a fasta file for matches to a regular expression and return a bed file with the |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
95 coordinates of the match and the matched sequence itself. |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
96 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
97 Output bed file has columns: |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
98 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
99 1. Name of fasta sequence (e.g. chromosome) |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
100 2. Start of the match |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
101 3. End of the match |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
102 4. ID of the match |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
103 5. Length of the match |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
104 6. Strand |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
105 7. Matched sequence as it appears on the forward strand |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
106 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
107 For matches on the reverse strand it is reported the start and end position on the |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
108 forward strand and the matched string on the forward strand (so the G4 'GGGAGGGT' |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
109 present on the reverse strand is reported as ACCCTCCC). |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
110 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
111 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
112 Note: Fasta sequences (chroms) are read in memory one at a time along with the |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
113 matches for that chromosome. |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
114 The order of the output is: chroms as they are found in the inut fasta, matches |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
115 sorted within chroms by positions. |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
116 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
117 ARGUMENTS: |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
118 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
119 - regex Regex to be searched in the fasta input. Matches to the reverse complement will have - strand. The default regex is '([gG]{3,}\w{1,7}){3,}[gG]{3,}' which searches for G-quadruplexes. |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
120 - matchcase Match case while searching for matches. Default is to ignore case (I.e. 'ACTG' will match 'actg'). |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
121 - noreverse Do not search the reverse complement of the input fasta. Use this flag to search protein sequences. |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
122 - maxstr Maximum length of the match to report in the 7th column of the output. Default is to report up to 10000nt. Truncated matches are reported as <ACTG...ACTG>[<maxstr>,<tot length>] |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
123 - seqnames List of fasta sequences in the input to search. E.g. use --seqnames chr1 chr2 chrM to search only these crhomosomes. Default is to search all the sequences in input. |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
124 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
125 EXAMPLE: |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
126 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
127 Test data:: |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
128 >mychr |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
129 ACTGnACTGnACTGnTGAC |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
130 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
131 Example1 regex=ACTG:: |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
132 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
133 mychr 0 4 mychr_0_4_for 4 + ACTG |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
134 mychr 5 9 mychr_5_9_for 4 + ACTG |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
135 mychr 10 14 mychr_10_14_for 4 + ACTG |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
136 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
137 Example2 regex=ACTG maxstr=3:: |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
138 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
139 mychr 0 4 mychr_0_4_for 4 + ACT[3,4] |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
140 mychr 5 9 mychr_5_9_for 4 + ACT[3,4] |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
141 mychr 10 14 mychr_10_14_for 4 + ACT[3,4] |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
142 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
143 Example3 regex=A\w\wG:: |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
144 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
145 mychr 0 5 mychr_0_5_for 5 + ACTGn |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
146 mychr 5 10 mychr_5_10_for 5 + ACTGn |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
147 mychr 10 15 mychr_10_15_for 5 + ACTGn |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
148 |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
149 ]]></help> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
150 <citations> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
151 <citation type="bibtex"> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
152 @misc{githubfastaRegexFinder, |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
153 author = {Dario Beraldi}, |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
154 year = {2017}, |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
155 title = {fastaRegexFinder}, |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
156 publisher = {GitHub}, |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
157 journal = {GitHub repository}, |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
158 url = {https://github.com/dariober/bioinformatics-cafe/tree/master/fastaRegexFinder}, |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
159 }</citation> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
160 </citations> |
269c627ae9f4
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fasta_regex_finder commit 8e118a4d24047e2c62912b962e854f789d6ff559
mbernt
parents:
diff
changeset
|
161 </tool> |