annotate gff_select_region.xml @ 6:1c25246f6e68 draft default tip

Uploaded
author petr-novak
date Thu, 27 Jun 2019 09:51:41 -0400
parents a5f1638b73be
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
1 <tool id="gff_select" name="GFF Region Selector" version="1.0.0">
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
2 <requirements><requirement type="package" version="1.0.0">profrep</requirement></requirements>
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
3 <description> Tool to select a specific sequence region from a GFF file </description>
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
4 <command>
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
5 python3 ${__tool_directory__}/gff_selection.py --gff_input ${gff_input} --region ${region} --gff_output ${gff_output} --new_seq_id '${new_seq_id}'
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
6
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
7 </command>
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
8 <inputs>
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
9 <param format="gff" type="data" name="gff_input" label="Choose input GFF3 file to cut" />
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
10 <param name="region" type="text" label="Choose the sequence and region to cut (including both end positions)" help="for example chr1 or chr1:1000-2000" />
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
11 <param name="new_seq_id" type="text" value="" label="Type in a new sequence name for the cut region" help="In case of using JBrowse it must correspond to the cut reference sequence name. If not specified, the original name with cut coordinates will be reported" />
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
12 </inputs>
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
13 <outputs>
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
14 <data format="gff3" name="gff_output" label="Region ${region} of GFF3 file ${gff_input.hid}" />
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
15 </outputs>
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
16
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
17 <help>
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
18
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
19 **WHAT IT DOES**
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
20
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
21 This tools enables to extract a region of interest from input GFF. It facilitates e.g. comparing features in several GFF files but for fraction of whole data. Use arbitrary GFF as an input. You can extract all records for individual sequence or select specific region. The coordinates of new regions in the modified GFF file will be recalculated with respect to the selected range. Type in the selected region and the corresponding seq ID to extract in the following form:
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
22
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
23 **original_seq_name (e.g. chr1)**
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
24
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
25 OR
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
26
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
27 **original_seq_name:start-end (e.g. chr1:1000-2000)**
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
28
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
29 **!PLEASE NOTE** Only the GFF records that are entirely inside the selected region will be reported.
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
30
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
31
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
32 </help>
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
33 </tool>
a5f1638b73be Uploaded
petr-novak
parents:
diff changeset
34