# HG changeset patch # User dpryan79 # Date 1478727481 18000 # Node ID 7c3041c778d01d52812ca0b2f45f8de2e8785691 # Parent 60b43da9a2655396d353b63a1698a2178b0995c3 Uploaded diff -r 60b43da9a265 -r 7c3041c778d0 featurecounts.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/featurecounts.xml Wed Nov 09 16:38:01 2016 -0500 @@ -0,0 +1,469 @@ + + Measure gene expression in RNA-Seq experiments from SAM or BAM files. + + subread + + + featureCounts -v 2>&1 | grep . + body.txt + + ## Set the right columns for the tabular formats + #if $format.value == "tabdel_medium" + && cut -f 1,7 body.txt > expression_matrix.txt + + ## Paste doesn't allow a non ordered list of columns: -f 1,7,8,6 will only return columns 1,7 and 8 + ## Thus the gene length column (last column) has to be added separately + && cut -f 6 body.txt > gene_lengths.txt + && paste expression_matrix.txt gene_lengths.txt > expression_matrix.txt.bak + && mv -f expression_matrix.txt.bak "${output_medium}" + #elif $format.value == "tabdel_short" + && cut -f 1,7 body.txt > "${output_short}" + #else + && cp body.txt "${output_full}" + #end if + + + #if str($include_feature_length_file) == "true" + && cut -f 1,6 body.txt > "${output_feature_lengths}" + #end if + + && tail -n+2 "output.summary" > "${output_summary}" + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + format == "tabdel_medium" + + + + + + + format == "tabdel_short" + + + + + + + format == "tabdel_full" + + + + + + + + + include_feature_length_file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 10.1093/bioinformatics/btt656 + +