annotate fastaregexfinder.xml @ 1:9a811adb714f draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/bioinformatics-cafe commit c318cd3f894f89c13d7eb257678673da70f72212
author iuc
date Wed, 25 Jan 2023 14:03:52 +0000
parents 269c627ae9f4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
9a811adb714f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/bioinformatics-cafe commit c318cd3f894f89c13d7eb257678673da70f72212
iuc
parents: 0
diff changeset
1 <tool id="fasta_regex_finder" name="Fasta regular expression finder" version="0.1.0">
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>
1
9a811adb714f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/bioinformatics-cafe commit c318cd3f894f89c13d7eb257678673da70f72212
iuc
parents: 0
diff changeset
6 <requirement type="package" version="3.8">python</requirement>
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
7 </requirements>
1
9a811adb714f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/bioinformatics-cafe commit c318cd3f894f89c13d7eb257678673da70f72212
iuc
parents: 0
diff changeset
8 <version_command>python '$__tool_directory__/fastaregexfinder.py' --version</version_command>
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
9 <command detect_errors="exit_code"><![CDATA[
1
9a811adb714f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/bioinformatics-cafe commit c318cd3f894f89c13d7eb257678673da70f72212
iuc
parents: 0
diff changeset
10 python '$__tool_directory__/fastaregexfinder.py'
9a811adb714f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/bioinformatics-cafe commit c318cd3f894f89c13d7eb257678673da70f72212
iuc
parents: 0
diff changeset
11 --fasta '$input'
9a811adb714f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/bioinformatics-cafe commit c318cd3f894f89c13d7eb257678673da70f72212
iuc
parents: 0
diff changeset
12 --regex '$regex'
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
13 #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
14 $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
15 $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
16 --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
17 #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
18 --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
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 #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
21 --quiet
1
9a811adb714f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/bioinformatics-cafe commit c318cd3f894f89c13d7eb257678673da70f72212
iuc
parents: 0
diff changeset
22 > '$output'
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
23 ]]></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
24 <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
25 <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
26 <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
27 <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
28 <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
29 <remove value="&apos;"/>
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 </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
31 <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
32 <add source="&apos;" 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
33 </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
34 </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
35 </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
36 <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
37 <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
38 <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
39 <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
40 </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
41 <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
42 </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
43 <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
44 <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
45 <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
46 <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
47 <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
48 </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
49 </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
50 </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
51 <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
52 <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
53 </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
54 <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
55 <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
56 <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
57 <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
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 <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
60 <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
61 <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
62 <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
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 <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
65 <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
66 <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
67 <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
68 <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
69 <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
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 <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
72 <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
73 <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
74 <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
75 <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
76 <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
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 <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
79 <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
80 <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
81 <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
82 <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
83 <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
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 <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
86 <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
87 <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
88 <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
89 <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
90 </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
91 </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
92 <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
93 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
94
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 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
96 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
97
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 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
99
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 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
101 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
102 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
103 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
104 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
105 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
106 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
107
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 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
109 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
110 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
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
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 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
114 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
115 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
116 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
117
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 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
119
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 - 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
121 - 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
122 - 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
123 - 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
124 - 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
125
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 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
127
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 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
129 >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
130 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
131
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 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
133
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 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
135 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
136 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
137
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 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
139
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 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
141 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
142 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
143
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 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
145
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 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
147 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
148 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
149
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 ]]></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
151 <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
152 <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
153 @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
154 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
155 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
156 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
157 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
158 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
159 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
160 }</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
161 </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
162 </tool>