annotate utils_filter-by-energy.xml @ 17:ad0af5e19601 draft

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