Mercurial > repos > iuc > resize_coordinate_window
changeset 3:9ba78e8985dc draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/resize_coordinate_window commit ad3846c086321d9bd604e974fd21323347b73470
author | iuc |
---|---|
date | Mon, 10 Jul 2017 11:47:19 -0400 |
parents | 541f300f322d |
children | 4eb3cc1f8466 |
files | resize_coordinate_window.py resize_coordinate_window.xml |
diffstat | 2 files changed, 12 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/resize_coordinate_window.py Mon Nov 14 14:04:00 2016 -0500 +++ b/resize_coordinate_window.py Mon Jul 10 11:47:19 2017 -0400 @@ -10,6 +10,7 @@ sys.stderr.write(msg) sys.exit(1) + parser = argparse.ArgumentParser() parser.add_argument('--input', dest='input', help="Input dataset") parser.add_argument('--start_coordinate', dest='start_coordinate', type=int, help='Chromosome start coordinate, either 0 or 1.')
--- a/resize_coordinate_window.xml Mon Nov 14 14:04:00 2016 -0500 +++ b/resize_coordinate_window.xml Mon Jul 10 11:47:19 2017 -0400 @@ -1,16 +1,16 @@ <tool id="resize_coordinate_window" name="Resize coordinate window" version="1.0.1"> <description>of GFF data</description> - <command> - python $__tool_directory__/resize_coordinate_window.py - --input "$input" - --start_coordinate $start_coordinate - --subtract_from_start $subtract_from_start - --add_to_end $add_to_end - --extend_existing $extend_existing - --chrom_len_file ${chromInfo} - --region_boundaries $region_boundaries - --output "$output" - </command> + <command detect_errors="exit_code"><![CDATA[ +python '$__tool_directory__/resize_coordinate_window.py' +--input '$input' +--start_coordinate $start_coordinate +--subtract_from_start $subtract_from_start +--add_to_end $add_to_end +--extend_existing $extend_existing +--chrom_len_file '${chromInfo}' +--region_boundaries $region_boundaries +--output '$output' + ]]></command> <inputs> <param name="input" type="data" format="gff" label="Gff file" /> <param name="start_coordinate" type="select" label="Start coordinate" help="Input data is 0-based or 1-based">