Mercurial > repos > nilesh > rseqc
diff junction_annotation.xml @ 49:6b33e31bda10 draft
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
author | lparsons |
---|---|
date | Thu, 16 Jul 2015 17:43:43 -0400 |
parents | eb339c5849bb |
children | 09846d5169fa |
line wrap: on
line diff
--- a/junction_annotation.xml Tue Apr 21 10:27:06 2015 -0400 +++ b/junction_annotation.xml Thu Jul 16 17:43:43 2015 -0400 @@ -1,38 +1,56 @@ -<tool id="rseqc_junction_annotation" name="Junction Annotation" version="2.4"> +<tool id="rseqc_junction_annotation" name="Junction Annotation" version="2.4galaxy1"> <description>compares detected splice junctions to reference gene model</description> + + <macros> + <import>rseqc_macros.xml</import> + </macros> + <requirements> - <requirement type="package" version="3.0.3">R</requirement> - <requirement type="package" version="1.7.1">numpy</requirement> - <requirement type="package" version="2.4">rseqc</requirement> + <expand macro="requirement_package_r" /> + <expand macro="requirement_package_numpy" /> + <expand macro="requirement_package_rseqc" /> </requirements> - <command> - junction_annotation.py - -i $input -o output -r $refgene - #if $intron.hasIntron - -m $intron.min_Intron - #end if + + <expand macro="stdio" /> + + <version_command><![CDATA[junction_annotation.py --version]]></version_command> + + <command><![CDATA[ + junction_annotation.py + --input-file $input + --refgene $refgene + --out-prefix output + --min-intron $min_intron + --mapq $mapq + ]]> </command> - <stdio> - <exit_code range="1:" level="fatal" description="An error occured during execution, see stderr and stdout for more information" /> - <regex match="[Ee]rror" source="both" description="An error occured during execution, see stderr and stdout for more information" /> - </stdio> + <inputs> - <param name="input" type="data" format="bam,sam" label="input bam/sam file" /> - <param name="refgene" type="data" format="bed" label="reference gene model" /> - <conditional name="intron"> - <param name="hasIntron" type="boolean" label="Specify minimum intron length" value="false"/> - <when value="true"> - <param name="min_Intron" type="integer" value="50" label="Minimum intron length (bp, default=50)" /> - </when> - </conditional> + <param name="input" type="data" format="bam,sam" label="input bam/sam file" help="(--input-file)"/> + <param name="refgene" type="data" format="bed" label="reference gene model" help="(--refgene)"/> + <param name="min_intron" type="integer" value="50" label="Minimum intron length (bp, default=50)" help="(--min-intron)" /> + <param name="mapq" type="integer" label="Minimum mapping quality (default=30)" help="Minimum phred scale mapping quality to consider a read 'uniquely mapped' (--mapq)" value="30" /> </inputs> + <outputs> <data format="xls" name="outputxls" from_work_dir="output.junction.xls" label="${tool.name} on ${on_string} (XLS)"/> <data format="txt" name="outputr" from_work_dir="output.junction_plot.r" label="${tool.name} on ${on_string} (R Script)" /> <data format="pdf" name="outputpdf" from_work_dir="output.splice_events.pdf" label="${tool.name} on ${on_string} (Splice Events PDF)"/> <data format="pdf" name="outputjpdf" from_work_dir="output.splice_junction.pdf" label="${tool.name} on ${on_string} (Splice Junction PDF)" /> </outputs> - <help> + + <tests> + <test> + <param name="input" value="pairend_strandspecific_51mer_hg19_chr1_1-100000.bam"/> + <param name="refgene" value="hg19_RefSeq_chr1_1-100000.bed"/> + <output name="outputxls" file="output.junction.xls"/> + <output name="outputr" file="output.junction_plot.r"/> + <output name="outputpdf" file="output.splice_events.pdf"/> + <output name="outputjpdf" file="output.splice_junction.pdf"/> + </test> + </tests> + + <help><![CDATA[ junction_annotation.py ++++++++++++++++++++++ @@ -40,15 +58,15 @@ format, this program will compare detected splice junctions to reference gene model. splicing annotation is performed in two levels: splice event level and splice junction level. -* splice event: An RNA read, especially long read, can be spliced 2 or more times, each time is called a splicing event; In this sense, 100 spliced reads can produce >= 100 splicing events. -* splice junction: multiple splicing events spanning the same intron can be consolidated into one splicing junction. +* splice event: An RNA read, especially long read, can be spliced 2 or more times, each time is called a splicing event; In this sense, 100 spliced reads can produce >= 100 splicing events. +* splice junction: multiple splicing events spanning the same intron can be consolidated into one splicing junction. All detected junctions can be grouped to 3 exclusive categories: -1. Annotated: The junction is part of the gene model. Both splice sites, 5' splice site - (5'SS) and 3'splice site (3'SS) can be annotated by reference gene model. -2. complete_novel: Complete new junction. Neither of the two splice sites cannot be annotated by gene model -3. partial_novel: One of the splice site (5'SS or 3'SS) is new, while the other splice site is annotated (known) +1. Annotated: The junction is part of the gene model. Both splice sites, 5' splice site + (5'SS) and 3'splice site (3'SS) can be annotated by reference gene model. +2. complete_novel: Complete new junction. Neither of the two splice sites cannot be annotated by gene model +3. partial_novel: One of the splice site (5'SS or 3'SS) is new, while the other splice site is annotated (known) Inputs ++++++++++++++ @@ -79,11 +97,11 @@ .. image:: http://rseqc.sourceforge.net/_images/junction.png :height: 400 px :width: 850 px - :scale: 80 % + :scale: 80 % ----- -About RSeQC +About RSeQC +++++++++++ The RSeQC_ package provides a number of useful modules that can comprehensively evaluate high throughput sequence data especially RNA-seq data. "Basic modules" quickly inspect sequence quality, nucleotide composition bias, PCR bias and GC bias, while "RNA-seq specific modules" investigate sequencing saturation status of both splicing junction detection and expression estimation, mapped reads clipping profile, mapped reads distribution, coverage uniformity over gene body, reproducibility, strand specificity and splice junction annotation. @@ -93,9 +111,9 @@ .. image:: http://rseqc.sourceforge.net/_static/logo.png .. _RSeQC: http://rseqc.sourceforge.net/ - - +]]> + </help> + <expand macro="citations" /> - </help> </tool>