Mercurial > repos > iuc > macs2
annotate macs2_predictd.xml @ 18:640d3af5d833 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
author | iuc |
---|---|
date | Sat, 02 Apr 2022 21:37:38 +0000 |
parents | 424aefbd7777 |
children | 86e2413cf3f8 |
rev | line source |
---|---|
18
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
17
diff
changeset
|
1 <tool id="macs2_predictd" name="MACS2 predictd" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01"> |
0 | 2 <description>Predict 'd' or fragment size from alignment results</description> |
18
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
17
diff
changeset
|
3 <expand macro="bio_tools"/> |
2
bfe57d6e0c4c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents:
0
diff
changeset
|
4 <macros> |
bfe57d6e0c4c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents:
0
diff
changeset
|
5 <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
|
6 </macros> |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
7 <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
|
8 <expand macro="stdio" /> |
0 | 9 <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
|
10 <command><![CDATA[ |
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
5
diff
changeset
|
11 @home_dir@ |
0 | 12 macs2 predictd |
13 | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
14 -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
|
15 @tag_size@ |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
16 @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
|
17 --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
|
18 @mfold_command@ |
18
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
17
diff
changeset
|
19 --d-min $d_min |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
17
diff
changeset
|
20 @buffer_size@ |
0 | 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 ## 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
|
23 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
|
24 |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
25 > '${ outfile }' |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
26 |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
27 && |
0 | 28 |
29 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
|
30 ]]></command> |
0 | 31 <inputs> |
17
424aefbd7777
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e90e79e18362561d0060d2c162f1938feebdbc29
iuc
parents:
15
diff
changeset
|
32 <param name="infiles" type="data" format="bam,bed" multiple="True" |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
33 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
|
34 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 | 35 <expand macro="conditional_effective_genome_size" /> |
36 <expand macro="tag_size" /> | |
37 <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
|
38 <expand macro="mfold_options" /> |
18
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
17
diff
changeset
|
39 <expand macro="fragment_size"/> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
17
diff
changeset
|
40 <expand macro="buffer_size"/> |
0 | 41 </inputs> |
42 | |
43 <outputs> | |
44 <data name="outfile" format="txt" label="${tool.name} on ${on_string} - d value" /> | |
45 <data name="outfile_image" from_work_dir="predictd_model.pdf" format="pdf" label="${tool.name} on ${on_string} - X-correlation image" /> | |
46 </outputs> | |
47 <tests> | |
48 <test> | |
49 <param name="infiles" value="Control_200K.bed,ChIP_200K.bed" ftype="bed" /> | |
50 <param name="effective_genome_size_options_selector" value="user_defined" /> | |
51 <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
|
52 <param name="tsize" value=""/> |
0 | 53 <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
|
54 <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
|
55 <param name="upper" value="50"/> |
18
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
17
diff
changeset
|
56 <assert_command> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
17
diff
changeset
|
57 <has_text text="--buffer-size"/> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
17
diff
changeset
|
58 <has_text text="--d-min"/> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
17
diff
changeset
|
59 </assert_command> |
15
c33686854b19
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents:
9
diff
changeset
|
60 <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
|
61 <assert_contents> |
c33686854b19
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents:
9
diff
changeset
|
62 <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
|
63 </assert_contents> |
c33686854b19
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents:
9
diff
changeset
|
64 </output> |
18
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
17
diff
changeset
|
65 <output name="outfile_image" file="predictd_on_ChIP_200K_and_Control_200K.pdf" compare="sim_size" ftype="pdf"/> |
0 | 66 </test> |
67 </tests> | |
68 <help> | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
69 <![CDATA[ |
0 | 70 **What it does** |
71 | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
72 This is **predictd** utility from the MACS2_ Package. It predicts the *d* value or fragment size from alignment results. |
0 | 73 |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
74 .. _MACS2: https://github.com/taoliu/MACS |
0 | 75 |
76 @citation@ | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
77 ]]> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
78 |
0 | 79 </help> |
80 <expand macro="citations" /> | |
81 </tool> |