comparison htseq_count.xml @ 1:cc33706a1d4b draft

update
author mingchen0919
date Tue, 06 Mar 2018 17:38:58 -0500
parents 10a460f61ac2
children db9da9716914
comparison
equal deleted inserted replaced
0:10a460f61ac2 1:cc33706a1d4b
1 <tool name="Tool report" id="tool_1" version="1.0.0"> 1 <tool id="aurora_htseq" name="Aurora htseq" version="1.0.0">
2 <description>Counting reads in features.</description> 2 <description>Counting reads in features.</description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="1.15.0.6-0">pandoc</requirement><requirement type="package" version="1.20.0">r-getopt</requirement><requirement type="package" version="1.6">r-rmarkdown</requirement><requirement type="package" version="0.9.1">htseq</requirement></requirements> 4 <requirement type="package" version="1.15.0.6-0">pandoc</requirement>
5 <stdio> 5 <requirement type="package" version="1.20.0">r-getopt</requirement>
6 <regex match="XXX" source="stderr" level="warning" description="Check the warnings_and_errors.txt file for more details."/></stdio> 6 <requirement type="package" version="1.6">r-rmarkdown</requirement>
7 <command><![CDATA[ 7 <requirement type="package" version="0.9.1">htseq</requirement>
8 8 </requirements>
9 9 <stdio>
10 Rscript '${__tool_directory__}/rmarkdown_report_render.R' 10 <regex match="XXX" source="stderr" level="warning"
11 description="Check the warnings_and_errors.txt file for more details."/>
12 </stdio>
13 <command><![CDATA[Rscript '${__tool_directory__}/aurora_htseq_count.R'
11 14
12 -e $echo 15 -e $echo
13 -o $report 16 -o $report
14 -d $report.files_path 17 -d $report.files_path
15 -s $sink_message 18 -s $sink_message
16 -t '${__tool_directory__}' 19 -t '${__tool_directory__}'
17 20
18 21 -f $format
19 22 -r $order
20 ]]></command> 23 -S $stranded
21 <inputs> 24 -a $minaqual
22 <param type="boolean" name="echo" truevalue="TRUE" falsevalue="FALSE" checked="false" label="Display analysis code in report?"/><param type="data" name="alignment_file" label="Alignment file (SAM/BAM)" optional="False" format="sam,bam"/><param type="data" name="gff" label="GFF file" optional="False" format="gff, gff3"/><param type="text" name="format" argument="-f" label="Input data format" help="Possible values are bam and sam." optional="False" value="bam"/><param type="text" name="order" argument="-r" label="Order" help="Possible values are &lt;code&gt;name&lt;/code&gt; and &lt;code&gt;pos&lt;/code&gt;. This option indicates whether the input data has been sorted by &lt;code&gt;name&lt;/code&gt; or &lt;code&gt;pos&lt;/code&gt;. " optional="False" value="name"/><param type="select" name="stranded" argument="-s" label="Stranded" optional="False" multiple="False"><option value="yes" selected="true">Yes</option><option value="no" selected="false">No</option><option value="reverse" selected="false">Reverse</option></param><param type="integer" name="minaqual" argument="-a" label="Alignment quality " help="Skip all reads with alignment quality lower than the given minimum value (default: 10)" optional="False" value="10" min="0"/><param type="text" name="feature_type" argument="-t" label="Feature type" help="Feature type (3rd column in GFF file) to be used, all features of other type are ignored (default, suitable for RNA-Seq analysis using an Ensembl GTF file: exon)" optional="False" value="exon"/><param type="text" name="idattr" argument="-i" label="ID attribute" help="GFF attribute to be used as feature ID. Several GFF lines with the same feature ID will be considered as parts of the same feature. The feature ID is used to identity the counts in the output table. The default, suitable for RNA-Seq analysis using an Ensembl GTF file, is gene_id." optional="False" value="gene_id"/><param type="text" name="additional_attr" argument="--additional-attr" label="Additional attributes" help="Additional feature attributes, which will be printed as an additional column after the primary attribute column but before the counts column(s). The default is none, a suitable value to get gene names using an Ensembl GTF file is gene_name." optional="True"/><param type="select" name="mode" argument="-m" label="Mode" help="Mode to handle reads overlapping more than one feature. Possible values for &lt;mode&gt; are union, intersection-strict and intersection-nonempty (default: union)" optional="False" multiple="False"><option value="union" selected="true">Union</option><option value="intersection-strict" selected="false">Intersection (strict)</option><option value="intersection-nonempty" selected="false">Intersection (nonempty)</option></param></inputs> 25 -T $feature_type
23 <outputs> 26 -i $idattr
24 <data format="html" name="report" label="tool report"/><data format="txt" name="sink_message" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt"/><data name="count" format="txt" label="Aurora htseq-count on ${on_string}" hidden="false"/></outputs> 27 -I $additional_attr
25 <citations> 28 -m $mode]]></command>
29 <inputs>
30 <param type="boolean" name="echo" truevalue="TRUE" falsevalue="FALSE" checked="false"
31 label="Display analysis code in report?"/>
32 <param type="data" name="alignment_file" label="Alignment file (SAM/BAM)" optional="False" format="sam,bam"/>
33 <param type="data" name="gff" label="GFF file" optional="False" format="gff, gff3"/>
34 <param type="select" name="format" argument="-f" label="Input data format" optional="False" multiple="False">
35 <option value="sam" selected="false">SAM</option>
36 <option value="bam" selected="false">BAM</option>
37 </param>
38 <param type="select" name="order" argument="-r" label="Order"
39 help="Use this option to indicate how the input data has been sorted. The default is name.&#13;&#10;&#13;&#10;"
40 optional="False" multiple="False">
41 <option value="name" selected="false">Name</option>
42 <option value="pos" selected="false">Position</option>
43 </param>
44 <param type="select" name="stranded" argument="-s" label="Stranded" optional="False" multiple="False">
45 <option value="yes" selected="true">Yes</option>
46 <option value="no" selected="false">No</option>
47 <option value="reverse" selected="false">Reverse</option>
48 </param>
49 <param type="integer" name="minaqual" argument="-a" label="Alignment quality "
50 help="Skip all reads with alignment quality lower than the given minimum value (default: 10)"
51 optional="False" value="10" min="0"/>
52 <param type="text" name="feature_type" argument="-t" label="Feature type"
53 help="Feature type (3rd column in GFF file) to be used, all features of other type are ignored (default, suitable for RNA-Seq analysis using an Ensembl GTF file: exon)"
54 optional="False" value="exon"/>
55 <param type="text" name="idattr" argument="-i" label="ID attribute"
56 help="GFF attribute to be used as feature ID. Several GFF lines with the same feature ID will be considered as parts of the same feature. The feature ID is used to identity the counts in the output table. The default, suitable for RNA-Seq analysis using an Ensembl GTF file, is gene_id."
57 optional="False" value="gene_id"/>
58 <param type="text" name="additional_attr" argument="--additional-attr" label="Additional attributes"
59 help="Additional feature attributes, which will be printed as an additional column after the primary attribute column but before the counts column(s). The default is none, a suitable value to get gene names using an Ensembl GTF file is gene_name."
60 optional="True"/>
61 <param type="select" name="mode" argument="-m" label="Mode"
62 help="Mode to handle reads overlapping more than one feature. Possible values for &lt;mode&gt; are union, intersection-strict and intersection-nonempty (default: union)"
63 optional="False" multiple="False">
64 <option value="union" selected="true">Union</option>
65 <option value="intersection-strict" selected="false">Intersection (strict)</option>
66 <option value="intersection-nonempty" selected="false">Intersection (nonempty)</option>
67 </param>
68 </inputs>
69 <outputs>
70 <data name="Aurora htseq" format="html" label="Aurora htseq on ${on_string}" hidden="false"/>
71 <data format="txt" name="sink_message" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt"/>
72 <data name="count" format="txt" label="Aurora htseq-count on ${on_string}" hidden="false"/>
73 </outputs>
74 <citations>
26 <citation type="bibtex"><![CDATA[ 75 <citation type="bibtex"><![CDATA[
27 @article{allaire2016rmarkdown, 76 @article{allaire2016rmarkdown,
28 title={rmarkdown: Dynamic Documents for R, 2016}, 77 title={rmarkdown: Dynamic Documents for R, 2016},
29 author={Allaire, J and Cheng, Joe and Xie, Yihui and McPherson, Jonathan and Chang, Winston and Allen, Jeff 78 author={Allaire, J and Cheng, Joe and Xie, Yihui and McPherson, Jonathan and Chang, Winston and Allen, Jeff
30 and Wickham, Hadley and Atkins, Aron and Hyndman, Rob}, 79 and Wickham, Hadley and Atkins, Aron and Hyndman, Rob},
31 journal={R package version 0.9}, 80 journal={R package version 0.9},
32 volume={6}, 81 volume={6},
33 year={2016} 82 year={2016}
34 } 83 }
35 ]]></citation><citation type="bibtex"><![CDATA[ 84 ]]></citation>
85 <citation type="bibtex"><![CDATA[
36 @book{xie2015dynamic, 86 @book{xie2015dynamic,
37 title={Dynamic Documents with R and knitr}, 87 title={Dynamic Documents with R and knitr},
38 author={Xie, Yihui}, 88 author={Xie, Yihui},
39 volume={29}, 89 volume={29},
40 year={2015}, 90 year={2015},
41 publisher={CRC Press} 91 publisher={CRC Press}
42 } 92 }
43 ]]></citation><citation type="bibtex"><![CDATA[@article{anders2015htseq, 93 ]]></citation>
94 <citation type="bibtex"><![CDATA[@article{anders2015htseq,
44 title={HTSeq—a Python framework to work with high-throughput sequencing data}, 95 title={HTSeq—a Python framework to work with high-throughput sequencing data},
45 author={Anders, Simon and Pyl, Paul Theodor and Huber, Wolfgang}, 96 author={Anders, Simon and Pyl, Paul Theodor and Huber, Wolfgang},
46 journal={Bioinformatics}, 97 journal={Bioinformatics},
47 volume={31}, 98 volume={31},
48 number={2}, 99 number={2},
49 pages={166--169}, 100 pages={166--169},
50 year={2015}, 101 year={2015},
51 publisher={Oxford University Press} 102 publisher={Oxford University Press}
52 }]]></citation></citations> 103 }]]></citation>
104 </citations>
53 </tool> 105 </tool>