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