comparison gff_select_region.xml @ 0:a5f1638b73be draft

Uploaded
author petr-novak
date Wed, 26 Jun 2019 08:01:42 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a5f1638b73be
1 <tool id="gff_select" name="GFF Region Selector" version="1.0.0">
2 <requirements><requirement type="package" version="1.0.0">profrep</requirement></requirements>
3 <description> Tool to select a specific sequence region from a GFF file </description>
4 <command>
5 python3 ${__tool_directory__}/gff_selection.py --gff_input ${gff_input} --region ${region} --gff_output ${gff_output} --new_seq_id '${new_seq_id}'
6
7 </command>
8 <inputs>
9 <param format="gff" type="data" name="gff_input" label="Choose input GFF3 file to cut" />
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" />
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" />
12 </inputs>
13 <outputs>
14 <data format="gff3" name="gff_output" label="Region ${region} of GFF3 file ${gff_input.hid}" />
15 </outputs>
16
17 <help>
18
19 **WHAT IT DOES**
20
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:
22
23 **original_seq_name (e.g. chr1)**
24
25 OR
26
27 **original_seq_name:start-end (e.g. chr1:1000-2000)**
28
29 **!PLEASE NOTE** Only the GFF records that are entirely inside the selected region will be reported.
30
31
32 </help>
33 </tool>
34