Mercurial > repos > holtgrewe > ngs_roi
view roi_table.xml @ 2:08cb79ffac4c draft
Uploaded
author | holtgrewe |
---|---|
date | Mon, 06 May 2013 12:46:46 -0400 |
parents | 61d9bdb6d519 |
children | 529f702f943e |
line wrap: on
line source
<?xml version="1.0"?> <tool id="roi_table" name="ROI Table"> <description>ROI Overview Report</description> <command> ln -s ${input} ${input}.${input.ext} ; python roi_table.py --in-file $input --out-file "$out_file" --out-dir "$out_file.files_path" #if $max_rois # --max-rois $max_rois #end if #if $plot_height # --plot-height $plot_height #end if #if $plot_width # --plot-width $plot_width #end if #if $link_target # --link-target $link_target #end if #if $link_type # --link-type $link_type #end if #if $igv_host # --igv-host $igv_host #end if #if $igv_port # --igv-port $igv_port #end if #if $ucsc_org # --ucsc-org $ucsc_org #end if #if $ucsc_db # --ucsc-db $ucsc_db #end if #if $ucsc_chr_prefix # --ucsc-chr-prefix "$ucsc_chr_prefix" #end if ; rm -f ${input}.${input.ext} </command> <!-- Input Files and Parameters --> <inputs> <param name="input" format="roi" type="data" label="ROI file to generate table for."/> <param name="max_rois" type="integer" value="5000" label="Maximal total number of records to process. 0 for all." /> <param name="max_value" type="integer" value="0" label="Maximal value to plot. 0 for no limit." /> <param name="plot_height" type="integer" value="60" label="Height of one plot in px." /> <param name="plot_width" type="integer" value="60" label="Width of one plot in px." /> <param name="link_type" type="select" label="Link target."> <option value="local_igv" label="Local IGV Instance" /> <option value="ucsc" label="UCSC Genome Browser" /> </param> <param name="link_target" type="select" label="Open links in."> <option value="_blank" selected="true">new window</option> <option value="_top">this window</option> <option value="">this frame</option> </param> <param name="igv_host" type="text" label="Host for the IGV link." value="localhost" /> <param name="igv_port" type="integer" label="Port for the IGV link." value="60151" /> <param name="ucsc_org" type="text" label="UCSC Genome Browser org value." value="human" /> <param name="ucsc_db" type="text" label="UCSC Genome Browser db value." value="hg18" /> <param name="ucsc_chr_prefix" type="text" label="Prefix to add to contig names." value="" /> </inputs> <!-- Output Files --> <outputs> <data name="out_file" format="html" label="${input.name} Table" /> </outputs> <!-- Recognize errors by return code and not output to stderr. --> <stdio> <exit_code range="1:" level="fatal" /> <exit_code range=":-1" level="fatal" /> </stdio> <!-- Tool Help --> <help>No help yet.</help> </tool>