Mercurial > repos > bgruening > diffbind
annotate diffbind.xml @ 6:6031247f61d4 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 3bc676ca60e837f8aca261d0b7860128b3474a5c
author | bgruening |
---|---|
date | Sat, 28 Oct 2017 12:53:58 -0400 |
parents | b5839ce0befb |
children | 681dedc42aca |
rev | line source |
---|---|
6
6031247f61d4
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 3bc676ca60e837f8aca261d0b7860128b3474a5c
bgruening
parents:
5
diff
changeset
|
1 <tool id="diffbind" name="DiffBind" version="2.2.2"> |
0 | 2 <description> differential binding analysis of ChIP-Seq peak data</description> |
3 <requirements> | |
5
b5839ce0befb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit b'bd13ffd1c3e126a6dc59dd3c478347ec1b5824a3\n'
bgruening
parents:
4
diff
changeset
|
4 <requirement type="package" version="2.0.9">bioconductor-diffbind</requirement> |
6
6031247f61d4
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 3bc676ca60e837f8aca261d0b7860128b3474a5c
bgruening
parents:
5
diff
changeset
|
5 <requirement type="package" version="1.20.0">r-getopt</requirement> |
0 | 6 </requirements> |
7 <stdio> | |
1 | 8 <regex match="Execution halted" |
9 source="both" | |
10 level="fatal" | |
0 | 11 description="Execution halted." /> |
1 | 12 <regex match="Input-Error 01" |
13 source="both" | |
14 level="fatal" | |
0 | 15 description="Error in your input parameters: Make sure you only apply factors to selected samples." /> |
1 | 16 <regex match="Error in" |
17 source="both" | |
18 level="fatal" | |
0 | 19 description="An undefined error occured, please check your intput carefully and contact your administrator." /> |
20 </stdio> | |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
21 <command> |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
22 <![CDATA[ |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
23 ## 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
|
24 #set $counter = 1 |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
25 #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
|
26 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
|
27 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
|
28 #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
|
29 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
|
30 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
|
31 #end if |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
32 #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
|
33 #end for |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
34 |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
35 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
|
36 -i $infile |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
37 -o $outfile |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
38 -p $plots |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
39 -f $format |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
40 ]]> |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
41 </command> |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
42 <configfiles> |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
43 <configfile name="infile"> |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
44 #set $counter = 1 |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
45 #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
|
46 #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
|
47 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
|
48 #elif $counter == 1: |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
49 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
|
50 #end if |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
51 #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
|
52 $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
|
53 #else: |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
54 $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
|
55 #end if |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
56 #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
|
57 #end for |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
58 </configfile> |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
59 </configfiles> |
0 | 60 <inputs> |
61 <repeat name="samples" title="Samples" min="2"> | |
62 <param name="sample_id" type="text" value="Sample ID" label="Specify a sample id" help="e.g. BT474.1-" /> | |
63 <param name="tissue" type="text" value="Tissue" label="Specify the tissue" help="e.g. BT474" /> | |
64 <param name="factor" type="text" value="Factor Name" label="Specify a factor name" help="e.g. ER" /> | |
65 <param name="condition" type="text" value="Condition" label="Specify the condition" help="e.g. Resistent" /> | |
66 <param name="replicate" type="integer" value="1" label="Specify the replicate number" help="e.g. 1" /> | |
67 <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
|
68 <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 | 69 <param format="bed" name="peaks" type="data" label="Peak file" help="Result of your Peak calling experiment."/> |
70 </repeat> | |
1 | 71 <param name="pdf" type="boolean" truevalue="" falsevalue="" checked="true" |
0 | 72 label="Visualising the analysis results" |
73 help="output an additional PDF files" /> | |
74 <param name="format" type="select" label="Output Format"> | |
75 <option value="bed">BED</option> | |
76 <option value="gff">GFF</option> | |
77 <option value="wig">WIG</option> | |
78 </param> | |
79 </inputs> | |
80 <outputs> | |
81 <data format="bed" name="outfile" label="Differential binding sites on ${on_string}"> | |
82 <change_format> | |
83 <when input="format" value="wig" format="wig" /> | |
84 <when input="format" value="gff" format="gff" /> | |
85 </change_format> | |
86 </data> | |
87 <data format="pdf" name="plots" label="Differential binding sites on ${on_string}"> | |
88 <filter>pdf == True</filter> | |
89 </data> | |
90 </outputs> | |
91 <help> | |
1 | 92 <![CDATA[ |
0 | 93 |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
94 What it does |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
95 ************ |
0 | 96 |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
97 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 | 98 |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
99 Input |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
100 ***** |
1 | 101 |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
102 * You have to specify your samples. Here is one example:: |
1 | 103 |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
104 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
|
105 BT4741 BT474 ER Resistant Full-Media 1 raw 1084 |
0 | 106 |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
107 * 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
|
108 * 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
|
109 * Peak file: Result of your Peak calling experiment |
1 | 110 |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
111 Output |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
112 ****** |
0 | 113 |
1 | 114 As output format you can choose BED, GFF, WIG. |
115 | |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
116 References |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
117 ********** |
1 | 118 |
119 DiffBind_ Authors: Rory Stark, Gordon Brown (2011) | |
0 | 120 |
121 .. _DiffBind: http://www.bioconductor.org/packages/release/bioc/html/DiffBind.html | |
122 | |
123 Wrapper authors: Bjoern Gruening, Pavankumar Videm | |
124 | |
1 | 125 ]]> |
0 | 126 </help> |
3
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
127 <citations> |
d6dcb3dd5f8f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diffbind commit 78d26b3a3bbaf30d4d1367a0361618876fe69ae7
bgruening
parents:
2
diff
changeset
|
128 <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
|
129 </citations> |
0 | 130 </tool> |