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