Mercurial > repos > iuc > macs2
annotate macs2_predictd.xml @ 15:c33686854b19 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
author | iuc |
---|---|
date | Mon, 15 Oct 2018 06:49:16 -0400 |
parents | acbd3fb47f90 |
children | 424aefbd7777 |
rev | line source |
---|---|
0 | 1 <tool id="macs2_predictd" name="MACS2 predictd" version="@VERSION_STRING@.0"> |
2 <description>Predict 'd' or fragment size from alignment results</description> | |
2
bfe57d6e0c4c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents:
0
diff
changeset
|
3 <macros> |
bfe57d6e0c4c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents:
0
diff
changeset
|
4 <import>macs2_macros.xml</import> |
bfe57d6e0c4c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents:
0
diff
changeset
|
5 </macros> |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
6 <expand macro="requirements"/> |
2
bfe57d6e0c4c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents:
0
diff
changeset
|
7 <expand macro="stdio" /> |
0 | 8 <expand macro="version_command" /> |
9
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
5
diff
changeset
|
9 <command><![CDATA[ |
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
5
diff
changeset
|
10 @home_dir@ |
0 | 11 macs2 predictd |
12 | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
13 -i ${ ' '.join(["'%s'" % $x for $x in $infiles ]) } |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
14 @tag_size@ |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
15 @effective_genome_size@ |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
16 --bw '${ band_width }' |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
17 @mfold_command@ |
0 | 18 |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
19 ## remove the timepoint and strip the output |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
20 2>&1 | awk -F: '{print $4}' | awk '{$1=$1}1' |
2
bfe57d6e0c4c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents:
0
diff
changeset
|
21 |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
22 > '${ outfile }' |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
23 |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
24 && |
0 | 25 |
26 Rscript predictd | |
9
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
5
diff
changeset
|
27 ]]></command> |
0 | 28 <inputs> |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
29 <param name="infiles" type="data" format="bam,sam,bed" multiple="True" |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
30 label="ChIP-seq alignment file" |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
31 help="If multiple files are given, then they will all be read and combined. Note that pair-end data is not supposed to work with this command. (-i)" /> |
0 | 32 <expand macro="conditional_effective_genome_size" /> |
33 <expand macro="tag_size" /> | |
34 <expand macro="band_width" /> | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
35 <expand macro="mfold_options" /> |
0 | 36 </inputs> |
37 | |
38 <outputs> | |
39 <data name="outfile" format="txt" label="${tool.name} on ${on_string} - d value" /> | |
40 <data name="outfile_image" from_work_dir="predictd_model.pdf" format="pdf" label="${tool.name} on ${on_string} - X-correlation image" /> | |
41 </outputs> | |
42 <tests> | |
43 <test> | |
44 <param name="infiles" value="Control_200K.bed,ChIP_200K.bed" ftype="bed" /> | |
45 <param name="effective_genome_size_options_selector" value="user_defined" /> | |
46 <param name="gsize" value="3300000000" /> | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
47 <param name="tsize" value=""/> |
0 | 48 <param name="band_width" value="300"/> |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
49 <param name="lower" value="5"/> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
50 <param name="upper" value="50"/> |
15
c33686854b19
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents:
9
diff
changeset
|
51 <output name="outfile"> |
c33686854b19
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents:
9
diff
changeset
|
52 <assert_contents> |
c33686854b19
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents:
9
diff
changeset
|
53 <has_line line="# predicted fragment length is 284 bps" /> |
c33686854b19
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents:
9
diff
changeset
|
54 </assert_contents> |
c33686854b19
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents:
9
diff
changeset
|
55 </output> |
0 | 56 <output name="outfile_image" file="predictd_on_ChIP_200K_and_Control_200K.pdf" compare="sim_size"/> |
57 </test> | |
58 </tests> | |
59 <help> | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
60 <![CDATA[ |
0 | 61 **What it does** |
62 | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
63 This is **predictd** utility from the MACS2_ Package. It predicts the *d* value or fragment size from alignment results. |
0 | 64 |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
65 .. _MACS2: https://github.com/taoliu/MACS |
0 | 66 |
67 @citation@ | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
68 ]]> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
69 |
0 | 70 </help> |
71 <expand macro="citations" /> | |
72 </tool> |