Mercurial > repos > iuc > macs2
annotate macs2_predictd.xml @ 48:e04fc51ee5e1 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
| author | iuc |
|---|---|
| date | Mon, 06 Feb 2017 02:30:03 -0500 |
| parents | 9033b59bf9c1 |
| children | 1b3f899ef044 |
| 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> |
| 33 | 6 <expand macro="requirements"> |
|
47
9033b59bf9c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents:
36
diff
changeset
|
7 <requirement type="package" version="3.1.2">R</requirement> |
| 33 | 8 <requirement type="package" version="4.1.0">gnu_awk</requirement> |
| 9 </expand> | |
|
36
8c8ae1e19b10
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents:
33
diff
changeset
|
10 <expand macro="stdio" /> |
| 33 | 11 <expand macro="version_command" /> |
| 12 <command> | |
| 13 macs2 predictd | |
| 14 -i ${ ' '.join( map( lambda x:'"%s"' % ( x ), $infiles ) ) } | |
| 15 @tag_size@ | |
| 16 @effective_genome_size@ | |
| 17 --bw "${ band_width }" | |
| 18 --mfold "${ mfoldlo }" "${ mfoldhi }" | |
| 19 | |
| 20 ## remove the timepoint and strip the output | |
| 21 2>&1 | awk -F: '{print $4}' | awk '{$1=$1}1' | |
| 22 | |
| 23 > "${ outfile }" | |
|
36
8c8ae1e19b10
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents:
33
diff
changeset
|
24 |
| 33 | 25 && |
| 26 | |
| 27 Rscript predictd | |
| 28 </command> | |
| 29 <inputs> | |
| 30 <param name="infiles" type="data" format="bam,sam,bed" multiple="True" label="ChIP-seq alignment file" 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)" /> | |
| 31 <expand macro="conditional_effective_genome_size" /> | |
| 32 <expand macro="tag_size" /> | |
| 33 <expand macro="band_width" /> | |
| 34 | |
| 35 <param name="mfoldlo" type="integer" label="Fold-enrichment lower limit" value="5" | |
| 36 help="Select the regions with MFOLD high-confidence enrichment ratio against background to build model (--mfold)"/> | |
| 37 <param name="mfoldhi" type="integer" label="Fold-enrichment upper-limit" value="50" | |
| 38 help="Select the regions with MFOLD high-confidence enrichment ratio against background to build model (--mfold)"/> | |
| 39 | |
| 40 </inputs> | |
| 41 | |
| 42 <outputs> | |
| 43 <data name="outfile" format="txt" label="${tool.name} on ${on_string} - d value" /> | |
| 44 <data name="outfile_image" from_work_dir="predictd_model.pdf" format="pdf" label="${tool.name} on ${on_string} - X-correlation image" /> | |
| 45 </outputs> | |
| 46 <tests> | |
| 47 <test> | |
| 48 <param name="infiles" value="Control_200K.bed,ChIP_200K.bed" ftype="bed" /> | |
| 49 <param name="effective_genome_size_options_selector" value="user_defined" /> | |
| 50 <param name="gsize" value="3300000000" /> | |
| 51 <param name="tsize" value="-1.0"/> | |
| 52 <param name="band_width" value="300"/> | |
| 53 <param name="mfoldlo" value="5"/> | |
| 54 <param name="mfoldhi" value="50"/> | |
| 55 <output name="outfile" file="predictd_on_ChIP_200K_and_Control_200K.txt"/> | |
| 56 <output name="outfile_image" file="predictd_on_ChIP_200K_and_Control_200K.pdf" compare="sim_size"/> | |
| 57 </test> | |
| 58 </tests> | |
| 59 <help> | |
| 60 **What it does** | |
| 61 | |
| 62 predictd from macs2 | |
| 63 | |
| 64 | |
| 65 Note that pair-end data is not supposed to work with this command. | |
| 66 | |
| 67 | |
| 68 @citation@ | |
| 69 </help> | |
| 70 <expand macro="citations" /> | |
| 71 </tool> |
