annotate rmarkdown_feature_counts.xml @ 3:40704501d8c4 draft default tip

update
author mingchen0919
date Fri, 29 Dec 2017 22:17:46 -0500
parents 8519371cc6d1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
1 <tool id="feature_counts" name="featureCounts" version="1.0.0">
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
2 <requirements>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
3 <requirement type="package" version="1.15.0.6-0">pandoc</requirement>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
4 <requirement type="package" version="1.20.0">r-getopt</requirement>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
5 <requirement type="package" version="1.3">r-rmarkdown</requirement>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
6 <requirement type="package" version="0.3.5">r-htmltools</requirement>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
7 <requirement type="package" version="0.5.0">r-dplyr</requirement>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
8 <requirement type="package" version="0.2">r-dt</requirement>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
9 <requirement type="package" version="1.25.2">bioconductor-rsubread</requirement>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
10 </requirements>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
11 <description>This function assigns mapped sequencing reads to genomic features</description>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
12 <stdio>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
13 <regex source="stderr" match="XXX" level="warning"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
14 description="Check the warnings_and_errors.txt file for more details."/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
15 </stdio>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
16 <command><![CDATA[
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
17 Rscript '${__tool_directory__}/rmarkdown_feature_counts_render.R'
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
18 -e $echo
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
19 ##----- code chunk to get file paths and raw file names for a multiple inputs data field ----
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
20 #set $sep = ''
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
21 #set $input_bam_paths = ''
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
22 #set $input_bam_names = ''
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
23 #for $input_bam in $input_bams:
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
24 #set $input_bam_paths += $sep + str($input_bam)
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
25 #set $input_bam_names += $sep + str($input_bam.name)
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
26 #set $sep = ','
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
27 #end for
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
28 ##----------------- end for getting file names and file paths ------------------------------
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
29 -a '$input_bam_paths'
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
30 -N '$input_bam_names'
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
31 -b $annot_inbuilt
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
32 -c '$annot_ext'
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
33 -f $isGTFAnnotationFile
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
34 -g $gtf_feature_type
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
35 -h $gtf_attr_type
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
36 -i $chr_aliases
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
37 -j $use_meta_features
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
38 -k $allow_multi_overlap
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
39 -l $min_overlap
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
40 -m $largest_overlap
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
41 -n $read_extension_5
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
42 -o $read_extension_3
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
43 -p $read_2_pos
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
44 -q $count_multi_mapping_reads
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
45 -u $fraction
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
46 -v $min_mqs
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
47 -w $split_only
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
48 -x $non_split_only
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
49 -y $primary_only
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
50 -z $ignore_dup
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
51 -A $strand_specific
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
52 -B $junc_counts
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
53 -C $genome
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
54 -D $is_paired_end
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
55 -E $require_both_ends_mapped
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
56 -F $check_frag_length
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
57 -G $min_frag_length
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
58 -H $max_frag_length
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
59 -I $count_chimeric_fragments
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
60 -J $auto_sort
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
61 -K $n_threads
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
62 -L $max_mop
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
63 -M $report_reads
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
64 -r $report
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
65 -d $report.files_path
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
66 -s $sink_message
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
67 -t '${__tool_directory__}/rmarkdown_feature_counts.Rmd'
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
68 ]]></command>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
69 <inputs>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
70 <param type="boolean" name="echo" label="Display analysis code in report?" optional="False" checked="False"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
71 truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
72 <param type="data" name="input_bams" label="BAM/SAM files"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
73 help="The files can be in either SAM format or BAM format. The file format is automatically detected by the function"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
74 optional="False" format="bam,sam" multiple="True"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
75 <param type="text" name="annot_inbuilt" label="annot.inbuilt"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
76 help="a character string specifying an in-built annotation used for read summarization. It has four possible values including mm10, mm9, hg38 and hg19, corresponding to the NCBI RefSeq annotations for genomes 'mm10', 'mm9', 'hg38' and 'hg19', respectively. mm10 by default. The in-built annotation has a SAF format (see below)."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
77 optional="False" value="mm10"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
78 <param type="data" name="annot_ext" label="External annotation (GTF)"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
79 help="A character string giving name of a user-provided annotation file or a data frame including user-provided annotation data"
2
mingchen0919
parents: 0
diff changeset
80 optional="False" format="gtf,gff,saf" multiple="False"/>
mingchen0919
parents: 0
diff changeset
81 <param type="boolean" name="isGTFAnnotationFile" optional="False" checked="True" truevalue="TRUE"
0
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
82 falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
83 <param type="text" name="gtf_feature_type" label="GTF.featureType"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
84 help="a character string giving the feature type used to select rows in the GTF annotation which will be used for read summarization. exon by default. This argument is only applicable when isGTFAnnotationFile is TRUE"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
85 optional="False" value="exon"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
86 <param type="text" name="gtf_attr_type" label="GTF.attrType"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
87 help="a character string giving the attribute type in the GTF annotation which will be used to group features (eg. exons) into meta-features (eg. genes). gene_id by default. This argument is only applicable when isGTFAnnotationFile is TRUE"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
88 optional="False" value="gene_id"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
89 <param type="data" name="chr_aliases" label="chrAliases"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
90 help="a character string giving the name of a file that contains aliases of chromosome names. The file should be a comma delimited text file that includes two columns. The first column gives the chromosome names used in the annotation and the second column gives the chromosome names used by reads. This file should not contain header lines. Names included in this file are case sensitive."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
91 optional="True" format="csv"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
92 <param type="boolean" name="use_meta_features" label="useMetaFeatures"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
93 help="logical indicating whether the read summarization should be performed at the feature level (eg. exons) or meta-feature level (eg genes). If TRUE, features in the annotation (each row is a feature) will be grouped into meta-features using their values in the &quot;GeneID&quot; column in the SAF-format annotation file or using the &quot;gene_id&quot; attribute in the GTF-format annotation file, and reads will assiged to the meta-features instead of the features. See below for more details."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
94 optional="False" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
95 <param type="boolean" name="allow_multi_overlap" label="allowMultiOverlap"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
96 help="logical indicating if a read is allowed to be assigned to more than one feature (or meta-feature) if it is found to overlap with more than one feature (or meta-feature). FALSE by default."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
97 optional="False" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
98 <param type="integer" name="min_overlap" label="minOverlap"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
99 help="integer giving the minimum number of overlapped bases required for assigning a read to a feature (or a meta-feature). For assignment of read pairs (fragments), numbers of overlapping bases from each read in the same pair will be summed. If a negative value is provided, the read will be extended from both ends. 1 by default."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
100 optional="False" value="1"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
101 <param type="boolean" name="largest_overlap" label="largestOverlap"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
102 help="If TRUE, a read (or read pair) will be assigned to the feature (or meta-feature) that has the largest number of overlapping bases, if the read (or read pair) overlaps with multiple features (or meta-features)."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
103 optional="False" checked="True" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
104 <param type="integer" name="read_extension_5" label="readExtension5"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
105 help="integer giving the number of bases extended upstream from 5' end of each read. 0 by default."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
106 optional="False" value="1"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
107 <param type="integer" name="read_extension_3" label="readExtension3"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
108 help="integer giving the number of bases extended downstream from 3' end of each read. 0 by default."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
109 optional="False" value="1"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
110 <param type="text" name="read_2_pos" label="read2pos"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
111 help="Specifying whether each read should be reduced to its 5' most base or 3' most base. It has three possible values: NULL, 5 (denoting 5' most base) and 3 (denoting 3' most base). The default value is NULL. With the default value, the whole read is used for summarization. When read2pos is set to 5 (or 3), read summarization will be performed based on the 5' (or 3') most base position. read2pos can be used together with readExtension5 and readExtension3 parameters to set any desired length for reads."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
112 optional="False" value="NULL"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
113 <param type="boolean" name="count_multi_mapping_reads" label="countMultiMappingReads"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
114 help="logical indicating if multi-mapping reads/fragments should be counted, FALSE by default. If TRUE, a multi-mapping read will be counted up to N times if it has N reported mapping locations. This function uses the 'NH' tag to find multi-mapping reads."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
115 optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
116 <param type="boolean" name="fraction" label="fraction"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
117 help="logical indicating if fractional counts will be produced for multi-mapping reads. If TRUE, a fractional count, 1/n, will be generated for each reported alignment of a multi-mapping read, where n is the total number of alignments reported for that read. countMultiMappingReads must be set to TRUE when fraction is TRUE."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
118 optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
119 <param type="integer" name="min_mqs" label="minMQS"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
120 help="integer giving the minimum mapping quality score a read must satisfy in order to be counted. For paired-end reads, at least one end should satisfy this criteria. 0 by default."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
121 optional="False" value="0"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
122 <param type="boolean" name="split_only" label="splitOnly"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
123 help="logical indicating whether only split alignments (their CIGAR strings contain letter 'N') should be included for summarization. FALSE by default. Example split alignments are exon-spanning reads from RNA-seq data. useMetaFeatures should be set to FALSE and allowMultiOverlap should be set to TRUE, if the purpose of summarization is to assign exon-spanning reads to all their overlapping exons."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
124 optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
125 <param type="boolean" name="non_split_only" label="nonSplitOnly"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
126 help="logical indicating whether only non-split alignments (their CIGAR strings do not contain letter 'N') should be included for summarization. FALSE by default."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
127 optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
128 <param type="boolean" name="primary_only" label="primaryOnly"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
129 help="logical indicating if only primary alignments should be counted. Primary and secondary alignments are identified using bit 0x100 in the Flag field of SAM/BAM files. If TRUE, all primary alignments in a dataset will be counted no matter they are from multi-mapping reads or not (ie. countMultiMappingReads is ignored)."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
130 optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
131 <param type="boolean" name="ignore_dup" label="ignoreDup"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
132 help="logical indicating whether reads marked as duplicates should be ignored. FALSE by default. Read duplicates are identified using bit Ox400 in the FLAG field in SAM/BAM files. The whole fragment (read pair) will be ignored if paired end."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
133 optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
134 <param type="integer" name="strand_specific" label="strandSpecific"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
135 help="integer indicating if strand-specific read counting should be performed. It has three possible values: 0 (unstranded), 1 (stranded) and 2 (reversely stranded). 0 by default."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
136 optional="False" value="0"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
137 <param type="boolean" name="junc_counts" label="juncCounts"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
138 help="integer indicating if strand-specific read counting should be performed. It has three possible values: 0 (unstranded), 1 (stranded) and 2 (reversely stranded). 0 by default."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
139 optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
140 <param type="data" name="genome" label="genome"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
141 help="a character string giving the name of a FASTA-format file that includes the reference genome sequences. The reference genome provided here should be the same as the one used in read mapping. NULL by default."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
142 optional="False" format="fasta"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
143 <param type="boolean" name="is_paired_end" label="isPairedEnd"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
144 help="logical indicating if paired-end reads are used. If TRUE, fragments (templates or read pairs) will be counted instead of individual reads. FALSE by default."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
145 optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
146 <param type="boolean" name="require_both_ends_mapped" label="requireBothEndsMapped"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
147 help="logical indicating if both ends from the same fragment are required to be successfully aligned before the fragment can be assigned to a feature or meta-feature. This parameter is only appliable when isPairedEnd is TRUE."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
148 optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
149 <param type="boolean" name="check_frag_length" label="checkFragLength"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
150 help="logical indicating if the two ends from the same fragment are required to satisify the fragment length criteria before the fragment can be assigned to a feature or meta-feature. This parameter is only appliable when isPairedEnd is TRUE. The fragment length criteria are specified via minFragLength and maxFragLength."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
151 optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
152 <param type="integer" name="min_frag_length" label="minFragLength"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
153 help="integer giving the minimum fragment length for paired-end reads. 50 by default." optional="False"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
154 value="50"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
155 <param type="integer" name="max_frag_length" label="maxFragLength"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
156 help="integer giving the maximum fragment length for paired-end reads. 600 by default. minFragLength and maxFragLength are only applicable when isPairedEnd is TRUE. Note that when a fragment spans two or more exons, the observed fragment length might be much bigger than the nominal fragment length."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
157 optional="False" value="600"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
158 <param type="boolean" name="count_chimeric_fragments" label="countChimericFragments"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
159 help="logical indicating whether a chimeric fragment, which has its two reads mapped to different chromosomes, should be counted or not. TRUE by default."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
160 optional="False" checked="True" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
161 <param type="boolean" name="auto_sort" label="autosort"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
162 help="logical specifying if the automatic read sorting is enabled. This option is only applicable for paired-end reads. If TRUE, reads will be automatically sorted by their names if reads from the same pair are found not to be located next to each other in the input. No read sorting will be performed if there are no such reads found."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
163 optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
164 <param type="integer" name="n_threads" label="nthreads"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
165 help="integer giving the number of threads used for running this function. 1 by default."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
166 optional="False" value="1" min="1"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
167 <param type="integer" name="max_mop" label="maxMOp"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
168 help="integer giving the maximum number of 'M' operations (matches or mis-matches) allowed in a CIGAR string. 10 by default. Both 'X' and '=' operations are treated as 'M' and adjacent 'M' operations are merged in the CIGAR string."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
169 optional="False" value="10"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
170 <param type="boolean" name="report_reads" label="reportReads"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
171 help="logical indicating if read counting result for each read/fragment is saved to a file. If TRUE, read counting results for reads/fragments will be saved to a tab-delimited file that contains four columns including name of read/fragment, status(assigned or the reason if not assigned), name of target feature/meta-feature and number of hits if the read/fragment is counted multiple times. Name of the file is the same as name of the input read file except a suffix '.featureCounts' is added. Multiple files will be generated if there is more than one input read file."
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
172 optional="False" checked="False" truevalue="TRUE" falsevalue="FALSE"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
173 </inputs>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
174 <outputs>
3
mingchen0919
parents: 2
diff changeset
175 <data name="report" format="html" label="feature counts report" hidden="false"/>
0
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
176 <data name="sink_message" format="txt" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
177 hidden="false"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
178 <data name="feature_counts" format="rdata" label="feature counts" from_work_dir="feature_counts.RData"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
179 hidden="false"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
180 <data name="feature_counts_csv" format="tabular" label="feature counts (.txt)"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
181 from_work_dir="feature_counts.txt"
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
182 hidden="false"/>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
183 </outputs>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
184 <help><![CDATA[some help text]]></help>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
185 <citations>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
186 <citation type="bibtex"><![CDATA[
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
187 @article{allaire2016rmarkdown,
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
188 title={rmarkdown: Dynamic Documents for R, 2016},
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
189 author={Allaire, J and Cheng, Joe and Xie, Yihui and McPherson, Jonathan and Chang, Winston and Allen, Jeff
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
190 and Wickham, Hadley and Atkins, Aron and Hyndman, Rob},
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
191 journal={R package version 0.9},
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
192 volume={6},
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
193 year={2016}
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
194 ]]></citation>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
195 <citation type="bibtex"><![CDATA[@article{liao2013featurecounts,
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
196 title={featureCounts: an efficient general purpose program for assigning sequence reads to genomic features},
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
197 author={Liao, Yang and Smyth, Gordon K and Shi, Wei},
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
198 journal={Bioinformatics},
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
199 volume={30},
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
200 number={7},
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
201 pages={923--930},
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
202 year={2013},
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
203 publisher={Oxford University Press}
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
204 }]]></citation>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
205 </citations>
5af86972b408 planemo upload
mingchen0919
parents:
diff changeset
206 </tool>