Mercurial > repos > yhoogstrate > segmentation_fold
annotate utils_filter-annotated-entries.xml @ 12:c690aa928d3d draft
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c-dirty
author | yhoogstrate |
---|---|
date | Fri, 06 May 2016 06:08:36 -0400 |
parents | 487f438da099 |
children | 7e5b96d45f8d |
rev | line source |
---|---|
11
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
1 <tool id="smf_utils_filter-annotated-entries" name="filter-annotated-entries" version="@VERSION@-0"> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
2 <description>Split entries into two files based on whether they overlap annotations in a bed file</description> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
3 |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
4 <macros> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
5 <import>macros.xml</import> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
6 </macros> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
7 |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
8 <requirements> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
9 @REQUIREMENTS_UTILS@ |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
10 </requirements> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
11 <expand macro="stdio" /> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
12 |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
13 <version_command>@VERSION_COMMAND_UTILS@</version_command> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
14 |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
15 <command><![CDATA[ |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
16 segmentation-fold-utils |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
17 filter-annotated-entries |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
18 --regex '${regex.replace("'","\\'")}' |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
19 '$dbn_input_file' |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
20 '$bed_input_file' |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
21 '$dbn_output_file_overlapping' |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
22 '$dbn_output_file_non_overlapping' |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
23 ]]></command> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
24 |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
25 <inputs> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
26 <param name="dbn_input_file" |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
27 type="data" |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
28 format="dbn,txt" |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
29 label="Input DBN file" |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
30 help="The 'fasta'-headers should contain the genomic position being used to find overlapping reads in the BAM file"/> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
31 <param name="bed_input_file" |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
32 type="data" |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
33 format="bed" |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
34 label="The resultes will be filtered based on overlap with annotations in this BED file"/> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
35 <param name="regex" |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
36 type="text" |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
37 argument="--regex" |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
38 value='>.*?(chr[^:]):([0-9]+)-([0-9]+)' |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
39 label="Regex to capture the targeted location in DBN file" |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
40 help="Do not change this value unless you're using customized software in the pipeline - default: '>.*?(chr[^:]):([0-9]+)-([0-9]+)'" /> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
41 </inputs> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
42 |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
43 <outputs> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
44 <data name="dbn_output_file_overlapping" |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
45 format="dbn" |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
46 label="${tool.name} on ${dbn_input_file.hid}: ${dbn_input_file.name} - overlapping entries"/> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
47 <data name="dbn_output_file_non_overlapping" |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
48 format="dbn" |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
49 label="${tool.name} on ${dbn_input_file.hid}: ${dbn_input_file.name} - non overlapping entries"/> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
50 </outputs> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
51 |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
52 <tests> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
53 <test> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
54 <param name="dbn_input_file" value="DBNFile.test_02.in.dbn" ftype="dbn"/> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
55 <param name="bed_input_file" value="DBNFile.test_02.in.bed" ftype="bed"/> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
56 <param name="regex" value='>.*?(chr[^:]):([0-9]+)-([0-9]+)'/> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
57 |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
58 <output name="dbn_output_file_overlapping"> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
59 <assert_contents> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
60 <has_line_matching expression=">chr1:0-10 x unknown-01 \(overlap in .*?: firstbase,1-2-3-4-5,6-7-8-9-10\)"/> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
61 <has_line line="AAAAAAAAAA"/> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
62 </assert_contents> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
63 </output> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
64 <output name="dbn_output_file_non_overlapping"> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
65 <assert_contents> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
66 <has_line_matching expression=">chr1:25-36 x unknown-01 \(aligned reads .*?: 1\)"/> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
67 <has_line line="AAAAAAAAAAA"/> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
68 |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
69 <has_line_matching expression=">chr1:45-56 x unknown-01 \(aligned reads .*?: 2\)"/> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
70 </assert_contents> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
71 </output> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
72 </test> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
73 </tests> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
74 |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
75 <help><![CDATA[ |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
76 Filter based on whether the entries in the DBN file are already annotated or not |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
77 ]]></help> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
78 |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
79 <expand macro="citations" /> |
487f438da099
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c
yhoogstrate
parents:
diff
changeset
|
80 </tool> |