Mercurial > repos > yhoogstrate > featurecounts
annotate featurecounts.xml @ 1:63bd455ed299 draft
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit 0eac9a776e7bc33275b8ef5e76a4f17b7b5c1259-dirty
author | yhoogstrate |
---|---|
date | Mon, 01 Jun 2015 07:18:31 -0400 |
parents | ab0323782bb5 |
children | b5c93611d2c5 |
rev | line source |
---|---|
0
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
2 <tool id="featurecounts" name="featureCounts" version="1.4.6.p1"> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
3 <description>Measure gene expression in RNA-Seq experiments from SAM or BAM files.</description> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
4 <requirements> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
5 <requirement type="package" version="1.4.6.p1">featurecounts</requirement> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
6 <requirement type="package" version="1.0.0">featurecounts2bed</requirement> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
7 </requirements> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
8 <version_command>featureCounts -v</version_command> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
9 <command> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
10 #* |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
11 The following script is written in the "Cheetah" language: |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
12 http://www.cheetahtemplate.org/docs/users_guide_html_multipage/contents.html |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
13 *# |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
14 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
15 ## Check 01: do the alignments have a dbkey and is the option set to using it? |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
16 #if $reference_gene_sets_source.source_select == "attribute" and len({ alignment.metadata.dbkey:True for alignment in $alignments }.keys()) != 1 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
17 echo "Invalid number of dbkeys are found: ${ len({ alignment.metadata.dbkey:True for alignment in $alignments }.keys()) }, while only one should be used. Make sure that the alignments are done on the same reference genome and that 'tool-data/gene_sets.loc' is configured properly!" >&2 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
18 #else |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
19 ## Check 02: are all alignments from the same type (bam || sam) |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
20 #if len({ alignment.extension:True for alignment in $alignments }.keys()) != 1 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
21 echo "Either all files must be SAM or all files must be BAM, no mixture is allowed." >&2 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
22 #else |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
23 featureCounts |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
24 -a |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
25 #if $reference_gene_sets_source.source_select == "indexed_filtered" |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
26 "$reference_gene_sets_source.reference_gene_sets" |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
27 #else if $reference_gene_sets_source.source_select == "indexed_all" |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
28 "$reference_gene_sets_source.reference_gene_sets" |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
29 #else if $reference_gene_sets_source.source_select == "history" |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
30 "$reference_gene_sets_source.reference_gene_sets" |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
31 #else |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
32 #* |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
33 This is a workaround to obtain the "genome.fa" file that |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
34 corresponds to the dbkey of the alignments. |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
35 Because this file is "calculated" during run-time, it can |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
36 be used in a workflow. |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
37 *# |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
38 "${ filter( lambda x: str( x[0] ) == str( { alignment.metadata.dbkey:True for alignment in $alignments }.keys()[0] ), $__app__.tool_data_tables[ 'gene_sets' ].get_fields() )[0][2] }" |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
39 #end if |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
40 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
41 -o "$output" |
1
63bd455ed299
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit 0eac9a776e7bc33275b8ef5e76a4f17b7b5c1259-dirty
yhoogstrate
parents:
0
diff
changeset
|
42 -T \${GALAXY_SLOTS:-2} |
0
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
43 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
44 #if $extended_parameters.parameters == "extended" |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
45 -t $extended_parameters.gff_feature_type |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
46 -g $extended_parameters.gff_feature_attribute |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
47 $extended_parameters.summarization_level |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
48 $extended_parameters.contribute_to_multiple_features |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
49 $extended_parameters.protocol |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
50 $extended_parameters.multimapping_counts |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
51 -Q $extended_parameters.mapping_quality |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
52 $extended_parameters.fragment_counting |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
53 $extended_parameters.check_distance |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
54 -d $extended_parameters.minimum_fragment_length |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
55 -D $extended_parameters.maximum_fragment_length |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
56 $extended_parameters.only_both_ends |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
57 $extended_parameters.exclude_chimerics |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
58 $extended_parameters.namesort |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
59 #end if |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
60 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
61 #for $alignment in $alignments |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
62 ${alignment} |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
63 #end for |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
64 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
65 2>&1 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
66 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
67 #set $columns = [str(i+7) for i, alignment in enumerate($alignments)] |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
68 #set $columns=",".join($columns) |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
69 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
70 #if $format == "tabdel_default" or $format.value == "tabdel_default" |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
71 ; cp $output tmp.txt |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
72 ; egrep -v "^#" tmp.txt > tmp2.txt |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
73 ; cut -f 1,$columns tmp2.txt > tmp_left.txt |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
74 ; cut -f 6 tmp2.txt > tmp_right.txt |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
75 ; paste tmp_left.txt tmp_right.txt > $output |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
76 #elif $format == "tabdel_short" or $format.value == "tabdel_short" |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
77 ; cp $output tmp.txt |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
78 ; egrep -v "^#" tmp.txt | cut -f 1,$columns > $output |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
79 #end if |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
80 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
81 ## For every alignment, replace its filename for: "hid: sample name" |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
82 #for $alignment in $alignments |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
83 #set $alignment_escaped = str($alignment).replace('/', '\/').replace('.', '\.') |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
84 #set $alignment_name_escaped = str(alignment.hid)+": "+str($alignment.name).replace('\t',' ').replace('\\','\\\\').replace("'","\\'").replace('/','\/') |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
85 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
86 #if $format.value == "tabdel_default" or $format.value == "tabdel_short" |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
87 ; sed -e '1 s/$alignment_escaped/${alignment_name_escaped}/g' $output > tmp.txt |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
88 #elif $format.value == "bed": |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
89 ; featurecounts2bed.sh -f "$output" > tmp.txt |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
90 #else |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
91 ; sed -e '1,2 s/$alignment_escaped/${alignment_name_escaped}/g' $output > tmp.txt |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
92 #end if |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
93 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
94 ; mv tmp.txt $output |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
95 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
96 ; sed -e '1 s/$alignment_escaped/${alignment_name_escaped}/g' $output".summary" > tmp.txt |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
97 ; mv tmp.txt $output".summary" |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
98 #end for |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
99 ; mv $output".summary" $output_summary |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
100 #end if |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
101 #end if |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
102 </command> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
103 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
104 <inputs> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
105 <param name="alignments" type="data" format="bam,sam" label="Alignment file" help="The input alignment file(s) where the gene expression has to be counted. The file can have a SAM or BAM format; but ALL files in the series must be in THE SAME format." multiple="true" /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
106 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
107 <!-- Find out how to access the the GTF/GFF file(s) --> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
108 <conditional name="reference_gene_sets_source"> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
109 <param name="source_select" type="select" label="GFF/GTF Source"> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
110 <option value="indexed_filtered">Use a built-in index (which fits your reference)</option> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
111 <option value="history">Use reference from the history</option> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
112 <option value="indexed_all">Use a built-in index (entire list) - avoid this option if possible; only useful if you design a workflow</option> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
113 <option value="attribute">Use a built-in index based on the 'metadata.dbkey' attribute; ideal in workflows</option> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
114 </param> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
115 <when value="indexed_filtered"> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
116 <param name="reference_gene_sets" type="select" label="Reference Gene Sets used during alignment (GFF/GTF)" > |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
117 <options from_data_table="gene_sets"><!-- replaces 'from_file="gene_sets"' - more strict --> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
118 <column name="name" index="0"/> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
119 <column name="dbkey" index="1"/> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
120 <column name="value" index="2"/> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
121 <filter type="data_meta" ref="alignments" multiple="false" key="dbkey" column="1" /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
122 <validator type="no_options" message="No indexes are available for the selected input dataset" /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
123 </options> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
124 </param> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
125 </when> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
126 <when value="history"> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
127 <param name="reference_gene_sets" format="gff" type="data" label="Gene annotation file" help="The program assumes that the provided annotation file is in GTF format. Make sure that the gene annotation file corresponds to the same reference genome as used for the alignment." /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
128 </when> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
129 <when value="indexed_all"> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
130 <param name="reference_gene_sets" type="select" label="Reference Gene Sets used during alignment (GFF/GTF)" > |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
131 <options from_data_table="gene_sets"><!-- replaces 'from_file="gene_sets"' - more strict --> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
132 <column name="name" index="0"/> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
133 <column name="dbkey" index="1"/> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
134 <column name="value" index="2"/> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
135 <validator type="no_options" message="No indexes are available for the selected input dataset" /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
136 </options> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
137 </param> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
138 </when> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
139 <when value="attribute"> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
140 <!-- Do nothing, determine GTF/GFF file at runtime --> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
141 </when> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
142 </conditional> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
143 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
144 <param name="format" type="select" label="Output format"> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
145 <option value="complex">featureCounts 1.4.0+ default (extensive; complex)</option> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
146 <option value="tabdel_default" selected="true">Gene-name "\t" gene-count "\t" gene-length (tab-delimited)</option> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
147 <option value="tabdel_short">Gene-name "\t" gene-count (tab-delimited)</option> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
148 <option value="bed">BED format (line per exon): chr "\t" start "\t" stop "\t" description "\t" readcount (tab-delimited)</option> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
149 </param> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
150 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
151 <conditional name="extended_parameters"> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
152 <param name="parameters" type="select" label="featureCounts parameters" help="For more advanced featureCounts settings."> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
153 <option value="default">Default settings</option> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
154 <option value="extended">Extended settings</option> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
155 </param> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
156 <when value="default"> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
157 </when> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
158 <when value="extended"> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
159 <param name="gff_feature_type" type="text" value="exon" label="GFF feature type filter" help="Specify the feature type. Only rows which have the matched matched feature type in the provided GTF annotation file will be included for read counting. `exon' by default." /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
160 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
161 <param name="gff_feature_attribute" type="text" value="gene_id" label="GFF gene identifier" help="Specify the attribute type used to group features (eg. exons) into meta-features (eg. genes), when GTF annotation is provided. `gene_id' by default. This attribute type is usually the gene identifier. This argument is useful for the meta-feature level summarization." /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
162 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
163 <param name ="summarization_level" type="boolean" truevalue=" -f" falsevalue="" label="On feature level" help="If specified, read summarization will be performed at the feature level. By default (-f is not specified), the read summarization is performed at the meta-feature level." /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
164 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
165 <param name ="contribute_to_multiple_features" type="boolean" truevalue=" -O" falsevalue="" label="Allow read to contribute to multiple features" help="If specified, reads (or fragments if -p is specified) will be allowed to be assigned to more than one matched meta- feature (or matched feature if -f is specified)" /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
166 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
167 <param name="protocol" type="select" label="Strand specific protocol" help="Indicate if strand-specific read counting should be performed. It has three possible values: 0 (unstranded), 1 (stranded) and 2 (reversely stranded). 0 by default."> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
168 <option value=" -s 0" selected="true">Unstranded</option> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
169 <option value=" -s 1">Stranded (forwards)</option> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
170 <option value=" -s 2">Stranded (reverse)</option> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
171 </param> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
172 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
173 <param name="multimapping_counts" type="boolean" truevalue=" -M" falsevalue="" label="Count multi-mapping reads/fragments" help="If specified, multi-mapping reads/fragments will be counted (ie. a multi-mapping read will be counted up to N times if it has N reported mapping locations). The program uses the `NH' tag to find multi-mapping reads." /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
174 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
175 <param name="mapping_quality" type="integer" value="0" label="Minimum read quality" help="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." /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
176 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
177 <param name="fragment_counting" type="boolean" truevalue=" -p" falsevalue="" label="PE: Count fragments instead of reads" help="Paired-end specific: If specified, fragments (or templates) will be counted instead of reads. The two reads from the same fragment must be adjacent to each other in the provided SAM/BAM file. If SAM/BAM input does not meet this requirement, the -S (sorting) option should be provided as well." /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
178 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
179 <param name="check_distance" type="boolean" truevalue=" -P" falsevalue="" label="PE: Check paired-end distance" help="Paired-end specific: If specified, paired-end distance will be checked when assigning fragments to meta-features or features. This option is only applicable when -p (Count fragments instead of reads) is specified. The distance thresholds should be specified using -d and -D (minimum and maximum fragment/template length) options." /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
180 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
181 <param name="minimum_fragment_length" type="integer" value="50" label="PE: Minimum fragment/template length." /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
182 <param name="maximum_fragment_length" type="integer" value="600" label="PE: Maximum fragment/template length." /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
183 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
184 <param name="only_both_ends" type="boolean" truevalue=" -B" falsevalue="" label="PE: only allow fragments with both reads aligned" help="Paired-end specific: If specified, only fragments that have both ends successfully aligned will be considered for summarization. This option is only applicable for paired-end reads." /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
185 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
186 <param name="exclude_chimerics" type="boolean" truevalue=" -C" falsevalue="" label="PE: Exclude chimeric fragments" help="Paired-end specific: If specified, the chimeric fragments (those fragments that have their two ends aligned to different chromosomes) will NOT be included for summarization. This option is only applicable for paired-end read data." /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
187 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
188 <param name="namesort" type="boolean" truevalue=" -S" falsevalue="" label="PE: Name-sort reads (slow!)" help="Paired-end specific: If specified, the program will reorder input reads according to their names and make reads from the same pair be adjacent to each other. This option should be provided when reads from the same pair are not adjacent to each other in input SAM/BAM files (for instance sorting reads by chromosomal locations could decouple reads from the same pair)." /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
189 </when> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
190 </conditional> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
191 </inputs> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
192 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
193 <outputs> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
194 <data format="tabular" name="output" label="${tool.name} on ${', '.join([ str(a.hid)+': '+a.name for a in $alignments ])}" /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
195 <data format="tabular" name="output_summary" label="${tool.name} on ${', '.join([ str(a.hid)+': '+a.name for a in $alignments ])} summary" /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
196 </outputs> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
197 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
198 <tests> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
199 <test> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
200 <param name="alignments" value="featureCounts_input1.bam,featureCounts_input2.bam" ftype="bam" /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
201 <param name="source_select" value="history" /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
202 <param name="reference_gene_sets" value="featureCounts_guide.gff" ftype="gff" /> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
203 <output name="output" file="output.tab"/> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
204 <output name="output_summary" file="output_summary.tab"/> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
205 </test> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
206 </tests> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
207 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
208 <help> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
209 featureCounts |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
210 ############# |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
211 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
212 Overview |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
213 -------- |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
214 FeatureCounts is a light-weight read counting program written entirely in the C programming language. It can be used to count both gDNA-seq and RNA-seq reads for genomic features in in SAM/BAM files. |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
215 It has a variety of advanced parameters but its major strength is its outstanding performance: analysis of a 10GB SE BAM file takes about 7 minutes on a single average CPU (Homo Sapiens genome) [1]. |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
216 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
217 Input formats |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
218 ------------- |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
219 Alignments should be provided in either: |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
220 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
221 - SAM format, http://samtools.sourceforge.net/samtools.shtml#5 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
222 - BAM format |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
223 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
224 Gene regions should be provided in the GFF/GTF format: |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
225 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
226 - http://genome.ucsc.edu/FAQ/FAQformat.html#format3 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
227 - http://www.ensembl.org/info/website/upload/gff.html |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
228 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
229 Installation |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
230 ------------ |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
231 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
232 1. Make sure you have proper GFF/GTF files (corresponding to your reference genome used for the aligment) uploaded to your history. |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
233 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
234 2. Make sure that your gene_sets.loc is configured properly as data table. This is generally done by copying the right information into: tool_data_table_conf.xml. More info at: https://wiki.galaxyproject.org/Admin/Tools/Data%20Tables |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
235 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
236 License |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
237 ------- |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
238 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
239 **featureCounts / subread package**: |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
240 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
241 - GNU General Public License version 3.0 (GPLv3) |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
242 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
243 Contact |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
244 ------- |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
245 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
246 The tool wrapper has been written by Youri Hoogstrate from the Erasmus |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
247 Medical Center (Rotterdam, Netherlands) on behalf of the Translational |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
248 Research IT (TraIT) project: |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
249 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
250 http://www.ctmm.nl/en/programmas/infrastructuren/traitprojecttranslationeleresearch |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
251 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
252 More tools by the Translational Research IT (TraIT) project can be found |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
253 in the following toolsheds: |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
254 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
255 http://toolshed.dtls.nl/ |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
256 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
257 http://toolshed.g2.bx.psu.edu/ |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
258 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
259 http://testtoolshed.g2.bx.psu.edu/ |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
260 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
261 References |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
262 ---------- |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
263 **featureCounts: an efficient general purpose program for assigning sequence reads to genomic features.** |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
264 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
265 *Liao Y1, Smyth GK, Shi W.* - Bioinformatics. 2014 Apr 1;30(7):923-30. |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
266 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
267 - http://www.ncbi.nlm.nih.gov/pubmed/24227677 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
268 - http://dx.doi.org/10.1093/bioinformatics/btt656 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
269 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
270 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
271 Acknowledgements |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
272 ---------------- |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
273 |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
274 I would like to thank Marius van den Beek for his contributions to this project. |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
275 </help> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
276 <citations> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
277 <citation type="doi">10.1093/bioinformatics/btt656</citation> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
278 </citations> |
ab0323782bb5
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/featurecounts commit cc900436bad9c6cca1f73d438c1f158d3bfc4318-dirty
yhoogstrate
parents:
diff
changeset
|
279 </tool> |