annotate utils_filter-by-energy.xml @ 22:01866e0e3eae draft

planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 3814f709ce964e99fe3cf2f979c11f8f3b87bce3-dirty
author yhoogstrate
date Wed, 25 May 2016 05:12:48 -0400
parents 3fbde4864e00
children 1c6654ab2492
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
3fbde4864e00 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 3814f709ce964e99fe3cf2f979c11f8f3b87bce3-dirty
yhoogstrate
parents: 16
diff changeset
1 <tool id="smf_utils_filter-by-energy" name="filter-by-energy" version="@VERSION@-1">
13
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>
19
3fbde4864e00 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 3814f709ce964e99fe3cf2f979c11f8f3b87bce3-dirty
yhoogstrate
parents: 16
diff changeset
12 <requirement type="package" version="0.6.1">htseq</requirement>
16
7e5b96d45f8d planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit c6608bd5256e5c54cb2e01be6c184da0d2b08a7c-dirty
yhoogstrate
parents: 13
diff changeset
13 <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
14 </requirements>
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
15 <expand macro="stdio" />
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
16
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
17 <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
18
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
19 <command><![CDATA[
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
20 segmentation-fold-utils
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
21 filter-by-energy
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
22 --energy ${energy}
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
23 '$dbn_input_file'
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_larger_or_equal'
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
25 '$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
26 ]]></command>
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
27
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
28 <inputs>
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
29 <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
30 type="data"
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
31 format="dbn,txt"
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
32 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
33 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
34 <param name="energy"
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
35 type="float"
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
36 value="0.0"
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
37 argument="--energy"
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
38 label="Energy value"
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
39 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
40 </inputs>
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
41
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
42 <outputs>
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
43 <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
44 format="dbn"
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
45 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
46 <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
47 format="dbn"
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
48 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
49 </outputs>
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
50
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
51 <tests>
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
52 <test>
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
53 <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
54 <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
55
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_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
57 <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
58 </test>
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
59 </tests>
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
60
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
61 <help><![CDATA[
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
62 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
63 ]]></help>
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
64
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
65 <expand macro="citations" />
63156f020cd3 planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit fb0bbb26638c0185ef16efa2e0ac3952d671b711-dirty
yhoogstrate
parents:
diff changeset
66 </tool>