Mercurial > repos > iuc > macs2
annotate macs2_predictd.xml @ 49:1b3f899ef044 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
| author | iuc |
|---|---|
| date | Sat, 08 Apr 2017 08:28:38 -0400 |
| parents | 9033b59bf9c1 |
| children | 8f6b37d29df5 |
| rev | line source |
|---|---|
| 33 | 1 <tool id="macs2_predictd" name="MACS2 predictd" version="@VERSION_STRING@.0"> |
| 2 <description>Predict 'd' or fragment size from alignment results</description> | |
|
36
8c8ae1e19b10
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents:
33
diff
changeset
|
3 <macros> |
|
8c8ae1e19b10
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents:
33
diff
changeset
|
4 <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
|
5 </macros> |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
6 <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
|
7 <expand macro="stdio" /> |
| 33 | 8 <expand macro="version_command" /> |
| 9 <command> | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
10 <![CDATA[ |
| 33 | 11 macs2 predictd |
| 12 | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
13 -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
|
14 @tag_size@ |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
15 @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
|
16 --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
|
17 @mfold_command@ |
| 33 | 18 |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
19 ## 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
|
20 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
|
21 |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
22 > '${ outfile }' |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
23 |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
24 && |
| 33 | 25 |
| 26 Rscript predictd | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
27 ]]> |
| 33 | 28 </command> |
| 29 <inputs> | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
30 <param name="infiles" type="data" format="bam,sam,bed" multiple="True" |
|
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"/> |
| 33 | 52 <output name="outfile" file="predictd_on_ChIP_200K_and_Control_200K.txt"/> |
| 53 <output name="outfile_image" file="predictd_on_ChIP_200K_and_Control_200K.pdf" compare="sim_size"/> | |
| 54 </test> | |
| 55 </tests> | |
| 56 <help> | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
57 <![CDATA[ |
| 33 | 58 **What it does** |
| 59 | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
60 This is **predictd** utility from the MACS2_ Package. It predicts the *d* value or fragment size from alignment results. |
| 33 | 61 |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
62 .. _MACS2: https://github.com/taoliu/MACS |
| 33 | 63 |
| 64 @citation@ | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
65 ]]> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
66 |
| 33 | 67 </help> |
| 68 <expand macro="citations" /> | |
| 69 </tool> |
