Mercurial > repos > yhoogstrate > segmentation_fold
comparison utils_filter-by-energy.xml @ 4:63df1e23f4ff draft
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 00690c63c51a7f7563f2428c313d7fa75f2657e5-dirty
author | yhoogstrate |
---|---|
date | Thu, 28 Jul 2016 10:25:37 -0400 |
parents | |
children | b7cf9b172cfe |
comparison
equal
deleted
inserted
replaced
3:cd1bba1c66b3 | 4:63df1e23f4ff |
---|---|
1 <tool id="smf_utils_filter-by-energy" name="filter-by-energy" version="@VERSION@-1"> | |
2 <description>Split entries over two files based on the estimated energy</description> | |
3 | |
4 <macros> | |
5 <import>macros.xml</import> | |
6 </macros> | |
7 | |
8 <requirements> | |
9 <requirement type="package" version="2.7.10">python</requirement> | |
10 <requirement type="package" version="1.9">numpy</requirement> | |
11 <requirement type="package" version="0.8.2.1">pysam</requirement> | |
12 <requirement type="package" version="0.6.1">htseq</requirement> | |
13 <requirement type="package" version="2.0.1">segmentation-fold-utils</requirement> | |
14 </requirements> | |
15 <expand macro="stdio" /> | |
16 | |
17 <version_command>@VERSION_COMMAND_UTILS@</version_command> | |
18 | |
19 <command><![CDATA[ | |
20 segmentation-fold-utils | |
21 filter-by-energy | |
22 --energy ${energy} | |
23 '$dbn_input_file' | |
24 '$dbn_output_file_larger_or_equal' | |
25 '$dbn_output_file_smaller' | |
26 ]]></command> | |
27 | |
28 <inputs> | |
29 <param name="dbn_input_file" | |
30 type="data" | |
31 format="dbn,txt" | |
32 label="Input DBN file" | |
33 help="The 'fasta'-headers should contain the genomic position being used to find overlapping reads in the BAM file"/> | |
34 <param name="energy" | |
35 type="float" | |
36 value="0.0" | |
37 argument="--energy" | |
38 label="Energy value" | |
39 help="Entries with transitions with energy smaller than energy (< e) or without transitions will be put into DBN_OUTPUT_FILE_LARGER_OR_EQUAL and those larger or equal (>= e) to DBN_OUTPUT_FILE_SMALLER" /> | |
40 </inputs> | |
41 | |
42 <outputs> | |
43 <data name="dbn_output_file_larger_or_equal" | |
44 format="dbn" | |
45 label="${tool.name} on ${dbn_input_file.hid}: ${dbn_input_file.name} - energy larger/equal than selected"/> | |
46 <data name="dbn_output_file_smaller" | |
47 format="dbn" | |
48 label="${tool.name} on ${dbn_input_file.hid}: ${dbn_input_file.name} - energy smaller than selected"/> | |
49 </outputs> | |
50 | |
51 <tests> | |
52 <test> | |
53 <param name="dbn_input_file" value="DBNFile.test_03.in.dbn" ftype="dbn"/> | |
54 <param name="energy" value='0.0'/> | |
55 | |
56 <output name="dbn_output_file_larger_or_equal" file="DBNFile.test_03.out.l.dbn" /> | |
57 <output name="dbn_output_file_smaller" file="DBNFile.test_03.out.s.dbn" /> | |
58 </test> | |
59 </tests> | |
60 | |
61 <help><![CDATA[ | |
62 Filter based on whether the entries in the DBN file are already annotated or not | |
63 ]]></help> | |
64 | |
65 <expand macro="citations" /> | |
66 </tool> |