Mercurial > repos > bgruening > diffbind
annotate diffbind.xml @ 4:69138bfd8644 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 074fed99c6df6bad17341bbfa57645f222907ad4
author | bgruening |
---|---|
date | Wed, 12 Apr 2017 15:14:20 -0400 |
parents | d6dcb3dd5f8f |
children | b5839ce0befb |
rev | line source |
---|---|
4
69138bfd8644
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 074fed99c6df6bad17341bbfa57645f222907ad4
bgruening
parents:
3
diff
changeset
|
1 <tool id="diffbind" name="DiffBind" version="2.2.0"> |
0 | 2 <description> differential binding analysis of ChIP-Seq peak data</description> |
3 <requirements> | |
4
69138bfd8644
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 074fed99c6df6bad17341bbfa57645f222907ad4
bgruening
parents:
3
diff
changeset
|
4 <requirement type="package" version="1.16.3">bioconductor-diffbind</requirement> |
0 | 5 </requirements> |
6 <stdio> | |
1 | 7 <regex match="Execution halted" |
8 source="both" | |
9 level="fatal" | |
0 | 10 description="Execution halted." /> |
1 | 11 <regex match="Input-Error 01" |
12 source="both" | |
13 level="fatal" | |
0 | 14 description="Error in your input parameters: Make sure you only apply factors to selected samples." /> |
1 | 15 <regex match="Error in" |
16 source="both" | |
17 level="fatal" | |
0 | 18 description="An undefined error occured, please check your intput carefully and contact your administrator." /> |
19 </stdio> | |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
20 <command> |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
21 <![CDATA[ |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
22 ## seems that diffbind also needs file extensions to work properly |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
23 #set $counter = 1 |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
24 #for $sample in $samples: |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
25 ln -s $sample.bamreads #echo str($counter) + "_bamreads.bam"# && |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
26 ln -s ${sample.bamreads.metadata.bam_index} #echo str($counter) + "_bamreads.bai"# && |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
27 #if str( $sample.bamcontrol ) != 'None': |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
28 ln -s $sample.bamcontrol #echo str($counter) + "_bamcontrol.bam"# && |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
29 ln -s ${sample.bamcontrol.metadata.bam_index} #echo str($counter) + "_bamcontrol.bai"# && |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
30 #end if |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
31 #set $counter = $counter + 1 |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
32 #end for |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
33 |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
34 Rscript $__tool_directory__/diffbind.R |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
35 -i $infile |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
36 -o $outfile |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
37 -p $plots |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
38 -f $format |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
39 ]]> |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
40 </command> |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
41 <configfiles> |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
42 <configfile name="infile"> |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
43 #set $counter = 1 |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
44 #for $sample in $samples: |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
45 #if str( $sample.bamcontrol ) != 'None' and $counter == 1: |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
46 SampleID,Tissue,Factor,Condition,Replicate,bamReads,bamControl,Peaks |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
47 #elif $counter == 1: |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
48 SampleID,Tissue,Factor,Condition,Replicate,bamReads,Peaks |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
49 #end if |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
50 #if str( $sample.bamcontrol ) != 'None': |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
51 $sample.sample_id,$sample.tissue,$sample.factor,$sample.condition,$sample.replicate,#echo str($counter) + '_bamreads.bam'#,#echo str($counter) + '_bamcontrol.bam'#,$sample.peaks |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
52 #else: |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
53 $sample.sample_id,$sample.tissue,$sample.factor,$sample.condition,$sample.replicate,#echo str($counter) + '_bamreads.bam'#,$sample.peaks |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
54 #end if |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
55 #set $counter = $counter + 1 |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
56 #end for |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
57 </configfile> |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
58 </configfiles> |
0 | 59 <inputs> |
60 <repeat name="samples" title="Samples" min="2"> | |
61 <param name="sample_id" type="text" value="Sample ID" label="Specify a sample id" help="e.g. BT474.1-" /> | |
62 <param name="tissue" type="text" value="Tissue" label="Specify the tissue" help="e.g. BT474" /> | |
63 <param name="factor" type="text" value="Factor Name" label="Specify a factor name" help="e.g. ER" /> | |
64 <param name="condition" type="text" value="Condition" label="Specify the condition" help="e.g. Resistent" /> | |
65 <param name="replicate" type="integer" value="1" label="Specify the replicate number" help="e.g. 1" /> | |
66 <param format="bam" name="bamreads" type="data" label="Read BAM file" help="Specify the Read BAM file, used for Peak calling."/> | |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
67 <param format="bam" name="bamcontrol" type="data" optional="True" label="Control BAM file" help="If specifying a control BAM file for this sample, then all samples are required to specify one."/> |
0 | 68 <param format="bed" name="peaks" type="data" label="Peak file" help="Result of your Peak calling experiment."/> |
69 </repeat> | |
1 | 70 <param name="pdf" type="boolean" truevalue="" falsevalue="" checked="true" |
0 | 71 label="Visualising the analysis results" |
72 help="output an additional PDF files" /> | |
73 <param name="format" type="select" label="Output Format"> | |
74 <option value="bed">BED</option> | |
75 <option value="gff">GFF</option> | |
76 <option value="wig">WIG</option> | |
77 </param> | |
78 </inputs> | |
79 <outputs> | |
80 <data format="bed" name="outfile" label="Differential binding sites on ${on_string}"> | |
81 <change_format> | |
82 <when input="format" value="wig" format="wig" /> | |
83 <when input="format" value="gff" format="gff" /> | |
84 </change_format> | |
85 </data> | |
86 <data format="pdf" name="plots" label="Differential binding sites on ${on_string}"> | |
87 <filter>pdf == True</filter> | |
88 </data> | |
89 </outputs> | |
90 <help> | |
1 | 91 <![CDATA[ |
0 | 92 |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
93 What it does |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
94 ************ |
0 | 95 |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
96 Diffbind provides functions for processing ChIP-Seq data enriched for genomic loci where specific protein/DNA binding occurs, including peak sets identified by ChIP-Seq peak callers and aligned sequence read datasets. |
1 | 97 |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
98 Input |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
99 ***** |
1 | 100 |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
101 * You have to specify your samples. Here is one example:: |
1 | 102 |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
103 ID Tissue Factor Condition Treatment Replicate Caller Intervals |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
104 BT4741 BT474 ER Resistant Full-Media 1 raw 1084 |
0 | 105 |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
106 * BAM file which contains the mapped sequencing reads can be associated with each peakset |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
107 * Control BAM file represents a control dataset and are optional, but have to specified for all when used. |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
108 * Peak file: Result of your Peak calling experiment |
1 | 109 |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
110 Output |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
111 ****** |
0 | 112 |
1 | 113 As output format you can choose BED, GFF, WIG. |
114 | |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
115 References |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
116 ********** |
1 | 117 |
118 DiffBind_ Authors: Rory Stark, Gordon Brown (2011) | |
0 | 119 |
120 .. _DiffBind: http://www.bioconductor.org/packages/release/bioc/html/DiffBind.html | |
121 | |
122 Wrapper authors: Bjoern Gruening, Pavankumar Videm | |
123 | |
1 | 124 ]]> |
0 | 125 </help> |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
126 <citations> |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
127 <citation type="doi">doi:10.1038/nature10730</citation> |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
128 </citations> |
0 | 129 </tool> |