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