annotate hicup_filter.xml @ 3:b16228ec1540 draft

planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit e6a9507eb198c6bf2c63ddae387c262bfc8dbd16
author bgruening
date Thu, 09 Nov 2017 11:16:04 -0500
parents cfa9c047cda4
children a7bbbf32da62
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
cfa9c047cda4 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit c546c919808a853d3e1556cb28bb4a5f7e1f9932
bgruening
parents: 0
diff changeset
1 <tool id="hicup_filter" name="Hicup Filter" version="@VERSION@.0">
3
b16228ec1540 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit e6a9507eb198c6bf2c63ddae387c262bfc8dbd16
bgruening
parents: 2
diff changeset
2 <description>classifies read pairs, identifying valid Hi-C di-tags.</description>
0
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
3 <macros>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
4 <import>hicup_macros.xml</import>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
5 </macros>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
6 <expand macro="requirements_hicup" />
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
7 <expand macro="stdio" />
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
8 <command><![CDATA[
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
9 hicup_filter --digest '$digest'
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
10 #if $advanced_options.longest:
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
11 --longest '$advanced_options.longest'
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
12 #end if
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
13 #if $advanced_options.shortest:
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
14 --shortest '$advanced_options.shortest'
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
15 #end if
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
16 #for $file in $inputFiles:
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
17 $file
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
18 #end for
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
19 && mv hicup_filter_ditag_rejects* hicup_filter_ditag_rejects
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
20 && mv *filt.sam dataset.filt.sam
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
21 && mv hicup_filter_summary* hicup_filter_summary.txt
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
22 && mv hicup_filter_ditag_rejects/*contiguous.filter.sam hicup_filter_ditag_rejects/dataset.contiguous.filter.sam
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
23 && mv hicup_filter_ditag_rejects/*re_ligation.filter.sam hicup_filter_ditag_rejects/dataset.re_ligation.filter.sam
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
24 && mv hicup_filter_ditag_rejects/*same_dangling_ends.filter.sam hicup_filter_ditag_rejects/dataset.same_dangling_ends.filter.sam
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
25 && mv hicup_filter_ditag_rejects/*invalid.filter.sam hicup_filter_ditag_rejects/dataset.invalid.filter.sam
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
26 && mv hicup_filter_ditag_rejects/*same_circularised.filter.sam hicup_filter_ditag_rejects/dataset.same_circularised.filter.sam
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
27 && mv hicup_filter_ditag_rejects/*same_internal.filter.sam hicup_filter_ditag_rejects/dataset.same_internal.filter.sam
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
28 #if $advanced_options.longest or $advanced_options.shortest:
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
29 && mv hicup_filter_ditag_rejects/*wrong_size.filter.sam hicup_filter_ditag_rejects/dataset.wrong_size.filter.sam
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
30 #end if
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
31
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
32 && mv *filter_piechart.svg filter_piechart.svg
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
33 ]]></command>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
34 <inputs>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
35 <param name="inputFiles" type="data" multiple="true" format="bam,sam" label="Input"/>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
36 <param argument="--digest" type="data" format="txt" label="Genome digest file" help="Specify the genome digest file (created by hicup_digester)"/>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
37 <section name="advanced_options" title="Advanced options">
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
38 <expand macro="filter_longest_shortest" />
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
39 </section>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
40 </inputs>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
41 <outputs>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
42 <expand macro="filter_output" />
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
43 </outputs>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
44 <tests>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
45 <test>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
46 <param name="digest" value="digester_file.txt" ftype="txt" />
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
47 <param name="inputFiles" value="result.pair.sam" ftype="sam" />
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
48 <output name="hicup_filter_summary" file="hicup_filter_summary.txt" lines_diff="12"/>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
49 <output name="dataset_filt" file="dataset.filt.sam" lines_diff="8" />
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
50 <output name="contiguous_filter" file="dataset.contiguous.filter.sam" lines_diff="8" />
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
51 <output name="re_ligation_filter" file="dataset.re_ligation.filter.sam" lines_diff="8" />
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
52 <output name="same_dangling_ends_filter" file="dataset.same_dangling_ends.filter.sam" lines_diff="8" />
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
53 <output name="invalid_filter" file="dataset.invalid.filter.sam" lines_diff="8" />
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
54 <output name="same_circularised_filter" file="dataset.same_circularised.filter.sam" lines_diff="8" />
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
55 <output name="same_internal_filter" file="dataset.same_internal.filter.sam" lines_diff="8" />
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
56 <output name="filter_piechart" file="filter_piechart.svg" ftype="svg" lines_diff="1000" />
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
57 </test>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
58 </tests>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
59 <help><![CDATA[
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
60
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
61 For help please consult the documentation of HiCUP: http://www.bioinformatics.babraham.ac.uk/projects/hicup/overview/
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
62
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
63 To get more information about the filter visit: http://www.bioinformatics.babraham.ac.uk/projects/hicup/scripts_description/#Filter
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
64 ]]></help>
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
65 <expand macro="citation_hicup" />
566da23a5a08 planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff changeset
66 </tool>