Mercurial > repos > petr-novak > profrep
diff gff_select_region.xml @ 0:a5f1638b73be draft
Uploaded
author | petr-novak |
---|---|
date | Wed, 26 Jun 2019 08:01:42 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gff_select_region.xml Wed Jun 26 08:01:42 2019 -0400 @@ -0,0 +1,34 @@ +<tool id="gff_select" name="GFF Region Selector" version="1.0.0"> +<requirements><requirement type="package" version="1.0.0">profrep</requirement></requirements> +<description> Tool to select a specific sequence region from a GFF file </description> +<command> +python3 ${__tool_directory__}/gff_selection.py --gff_input ${gff_input} --region ${region} --gff_output ${gff_output} --new_seq_id '${new_seq_id}' + +</command> +<inputs> + <param format="gff" type="data" name="gff_input" label="Choose input GFF3 file to cut" /> + <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" /> + <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" /> +</inputs> +<outputs> + <data format="gff3" name="gff_output" label="Region ${region} of GFF3 file ${gff_input.hid}" /> +</outputs> + +<help> + +**WHAT IT DOES** + +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: + +**original_seq_name (e.g. chr1)** + +OR + +**original_seq_name:start-end (e.g. chr1:1000-2000)** + +**!PLEASE NOTE** Only the GFF records that are entirely inside the selected region will be reported. + + +</help> +</tool> +