# HG changeset patch # User yhoogstrate # Date 1384348520 18000 # Node ID d065dcf46babe8aaf867c9857c781198b18deb30 Uploaded diff -r 000000000000 -r d065dcf46bab featureCounts.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/featureCounts.xml Wed Nov 13 08:15:20 2013 -0500 @@ -0,0 +1,136 @@ + + + Count reads aligned to (valid GTF/GFF) annotated genes in a reference genome from SAM or BAM files. + + + + featureCounts + -a $input_annotation + -o tmp.txt + + #if $alignments[0].file.extension == "bam" + -b + #end if + + #if $extended_parameters.parameters == "extended" + -t $extended_parameters.gff_feature_type + -g $extended_parameters.gff_feature_attribute + $extended_parameters.summarization_level + $extended_parameters.contribute_to_multiple_features + $extended_parameters.protocol + -Q $extended_parameters.mapping_quality + -T $extended_parameters.threads + $extended_parameters.fragment_counting + $extended_parameters.check_distance + -d $extended_parameters.minimum_fragment_length + -D $extended_parameters.maximum_fragment_length + $extended_parameters.only_both_ends + $extended_parameters.exclude_chimerics + $extended_parameters.namesort + #end if + + #for $alignment in $alignments + ${alignment.file} + #end for + + > /dev/null 2> /dev/null + + + + #if $format == "complex" or $format.value == "complex" + ; mv tmp.txt $output + #elif $format == "tabdel_default" or $format.value == "tabdel_default" + ; egrep -v "^#" tmp.txt > tmp2.txt + ; cut -f 1,7 tmp2.txt > tmp_left.txt + ; cut -f 6 tmp2.txt > tmp_right.txt + ; paste tmp_left.txt tmp_right.txt > $output + ; rm tmp.txt tmp2.txt tmp_left.txt tmp_right.txt + #elif $format == "tabdel_short" or $format.value == "tabdel_short" + ; egrep -v "^#" tmp.txt | cut -f 1,7 > $output + ; rm tmp.txt + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +featureCounts-valid-gff: + This application count reads aligned to annotated genes in a reference genome from SAM or BAM files. + This is similar to tools like DEXSeq-count, HTSeq-count, etc. + The tool is written in pure C, without the requirement of third party sorting software. + Therefore this tool is incredibly fast and takes about 7 minutes on a single average CPU for a 10GB alignment to a Homo Sapiens genome! + + --- + + Remark that this is a fork of the original "featureCounts" package, which can be found at: + http://subread.sourceforge.net/ + + --- + + This fork is able to read GTF/GFF files according to the provided standard by Ensembl, which can be found at: + http://www.ensembl.org/info/website/upload/gff.html + The fork is maintained by: Youri Hoogstrate + +