annotate gff3_extract_sequence.xml @ 10:3d9f283ff09d draft default tip

planemo upload commit e14699677f337fd1324aa6898c1388796c5446c1-dirty
author cpt
date Fri, 01 Dec 2023 05:01:01 +0000
parents 759ba1430091
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
1 <tool id="edu.tamu.cpt.gff3.export_seq" name="GFF3 Feature Sequence Export" version="19.1.0.0">
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
2 <description>Export corresponding sequence in genome from GFF3</description>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
3 <macros>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
4 <import>macros.xml</import>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
5 </macros>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
6 <expand macro="requirements"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
7 <command detect_errors="aggressive"><![CDATA[
10
3d9f283ff09d planemo upload commit e14699677f337fd1324aa6898c1388796c5446c1-dirty
cpt
parents: 8
diff changeset
8 @GENOME_SELECTOR_PRE@
3d9f283ff09d planemo upload commit e14699677f337fd1324aa6898c1388796c5446c1-dirty
cpt
parents: 8
diff changeset
9
3d9f283ff09d planemo upload commit e14699677f337fd1324aa6898c1388796c5446c1-dirty
cpt
parents: 8
diff changeset
10 '$__tool_directory__/gff3_extract_sequence.py'
4
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
11
10
3d9f283ff09d planemo upload commit e14699677f337fd1324aa6898c1388796c5446c1-dirty
cpt
parents: 8
diff changeset
12 @GENOME_SELECTOR@
3d9f283ff09d planemo upload commit e14699677f337fd1324aa6898c1388796c5446c1-dirty
cpt
parents: 8
diff changeset
13
3d9f283ff09d planemo upload commit e14699677f337fd1324aa6898c1388796c5446c1-dirty
cpt
parents: 8
diff changeset
14 @INPUT_GFF@
4
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
15
10
3d9f283ff09d planemo upload commit e14699677f337fd1324aa6898c1388796c5446c1-dirty
cpt
parents: 8
diff changeset
16 #if $feature_filter and $feature_filter is not None:
3d9f283ff09d planemo upload commit e14699677f337fd1324aa6898c1388796c5446c1-dirty
cpt
parents: 8
diff changeset
17 --feature_filter $feature_filter
3d9f283ff09d planemo upload commit e14699677f337fd1324aa6898c1388796c5446c1-dirty
cpt
parents: 8
diff changeset
18 #end if
3d9f283ff09d planemo upload commit e14699677f337fd1324aa6898c1388796c5446c1-dirty
cpt
parents: 8
diff changeset
19 #if $nodesc
3d9f283ff09d planemo upload commit e14699677f337fd1324aa6898c1388796c5446c1-dirty
cpt
parents: 8
diff changeset
20 --nodesc
3d9f283ff09d planemo upload commit e14699677f337fd1324aa6898c1388796c5446c1-dirty
cpt
parents: 8
diff changeset
21 #end if
3d9f283ff09d planemo upload commit e14699677f337fd1324aa6898c1388796c5446c1-dirty
cpt
parents: 8
diff changeset
22 > '$default']]>
3d9f283ff09d planemo upload commit e14699677f337fd1324aa6898c1388796c5446c1-dirty
cpt
parents: 8
diff changeset
23 </command>
4
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
24 <inputs>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
25 <expand macro="genome_selector"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
26 <expand macro="gff3_input"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
27 <param label="Filter for specific feature types" name="feature_filter" type="text" help="Use 'nice_cds' if your features are coming from Apollo, however this will fail on non-Apollo data"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
28 <param label="Remove description (use if blasting)" name="nodesc" type="boolean" truevalue="--nodesc" falsevalue=""/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
29 </inputs>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
30 <outputs>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
31 <data format="fasta" hidden="false" name="default"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
32 </outputs>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
33 <tests>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
34 <test>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
35 <param name="reference_genome_source" value="history"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
36 <param name="genome_fasta" value="T7_ExtSeqIn.fasta"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
37 <param name="gff3_data" value="T7_ExtSeqIn.gff3"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
38 <param name="nodesc" value=""/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
39 <param name="feature_filter" value="CDS"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
40 <output name="output" file="T7_ExtSeqOut.fasta"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
41 </test>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
42 <test>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
43 <param name="reference_genome_source" value="history"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
44 <param name="genome_fasta" value="Miro_ExtSeqIn.fa"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
45 <param name="gff3_data" value="Miro_ExtSeqIn.gff3"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
46 <param name="nodesc" value=""/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
47 <param name="feature_filter" value="CDS"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
48 <output name="output" file="Miro_ExtSeqOut1.fa"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
49 </test>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
50 <test>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
51 <param name="reference_genome_source" value="history"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
52 <param name="genome_fasta" value="Miro_ExtSeqIn.fa"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
53 <param name="gff3_data" value="Miro_ExtSeqIn.gff3"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
54 <param name="feature_filter" value="CDS"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
55 <param name="nodesc" value="--nodesc"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
56 <output name="output" file="Miro_ExtSeqOut2.fa"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
57 </test>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
58 </tests>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
59 <help><![CDATA[
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
60 **What it does**
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
61
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
62 From the FASTA sequence for a genome, extracts the *nucleotide* sequences for
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
63 all CDSs in an input GFF3 and outputs them as a multi-FASTA formatted file.
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
64
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
65 The filter for specific feature types was designed for data retrieved from Apollo.
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
66 Using ‘unique_cds’ extracts the sequence for all CDS. Using ‘nice_cds’ will extract
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
67 the sequence only for CDS features with a start codon (recommended). If a gene from
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
68 Apollo has multiple CDSs, the tool will append a "_##" to the end of subsequent genes.
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
69
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
70 ]]></help>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
71 <expand macro="citations"/>
34b80e483fb8 planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
cpt
parents:
diff changeset
72 </tool>