Mercurial > repos > bgruening > hicup_deduplicator
annotate hicup_deduplicator.xml @ 5:a5934ac7c399 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
author | bgruening |
---|---|
date | Sat, 22 Oct 2022 08:38:32 +0000 |
parents | 46e5b4782715 |
children |
rev | line source |
---|---|
5
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
1 <tool id="hicup_deduplicator" name="Hicup Deduplicator" version="@VERSION@+galaxy0" profile="18.01"> |
0
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
2 <description>removes duplicated di-tags (retaining one copy of each) from the data set.</description> |
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
3 <macros> |
d515a0639f8e
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> |
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
5 </macros> |
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
6 <expand macro="requirements_hicup" /> |
4
46e5b4782715
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
46e5b4782715
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
8 #if $input_file.ext != 'sam': |
46e5b4782715
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
9 ln -s '$input_file' input.bam && |
46e5b4782715
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
10 #end if |
46e5b4782715
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
11 hicup_deduplicator --zip --quiet |
46e5b4782715
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
12 #if $input_file.ext != 'sam': |
46e5b4782715
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
13 input.bam |
46e5b4782715
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
14 #else |
46e5b4782715
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
15 '$input_file' |
46e5b4782715
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
16 #end if |
0
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
17 ]]></command> |
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
18 <inputs> |
4
46e5b4782715
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
19 <param name="input_file" type="data" format="qname_sorted.bam,sam" label="Input file(s)" help="Input files in BAM or SAM format."/> |
0
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
20 </inputs> |
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
21 <outputs> |
4
46e5b4782715
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
22 <data name="dedup_result" format="qname_sorted.bam" label="Deduplicator Result" from_work_dir="*dedup*.bam" /> |
46e5b4782715
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
23 <data name="cis_trans_piechart" format="svg" from_work_dir="*deduplicator_cis_trans_piechart.svg" label="Hicup Deduplicator Cis Trans Piechart.svg"/> |
46e5b4782715
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
24 <data name="uniques_barchart" format="svg" from_work_dir="*deduplicator_uniques_barchart.svg" label="Hicup Deduplicator Uniques Barchart.svg" /> |
5
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
25 <data name="hicup_deduplicator_summary" format="tabular" from_work_dir="hicup_deduplicator_summary*.txt" label="Hicup Deduplicator Summary" /> |
0
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
26 </outputs> |
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
27 <tests> |
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
28 <test> |
4
46e5b4782715
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
29 <param name="input_file" value="dataset1_2.filt.bam" ftype="qname_sorted.bam"/> |
5
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
30 <output name="dedup_result" file="dataset1_2.hicup.bam" compare="sim_size" ftype="qname_sorted.bam"/> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
31 <output name="cis_trans_piechart" file="dataset1_2.filt.bam.deduplicator_cis_trans_piechart.svg" ftype="svg" compare="sim_size"/> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
32 <output name="uniques_barchart" file="dataset1_2.filt.bam.deduplicator_uniques_barchart.svg" ftype="svg" compare="sim_size"/> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
33 <output name="hicup_deduplicator_summary"> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
34 <assert_contents> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
35 <has_text_matching expression="\s+544\s+544\s+44\s+440\s+60"/> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
36 </assert_contents> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
37 </output> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
38 </test> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
39 <test> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
40 <param name="input_file" value="dataset1_2.filt.sam" ftype="sam"/> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
41 <output name="dedup_result" file="dataset1_2.hicup.bam" compare="sim_size" ftype="qname_sorted.bam"/> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
42 <output name="cis_trans_piechart" file="dataset1_2.filt.bam.deduplicator_cis_trans_piechart.svg" ftype="svg" compare="sim_size" delta="50000" /> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
43 <output name="uniques_barchart" file="dataset1_2.filt.bam.deduplicator_uniques_barchart.svg" ftype="svg" compare="sim_size"/> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
44 <output name="hicup_deduplicator_summary"> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
45 <assert_contents> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
46 <has_text_matching expression="\s+544\s+544\s+44\s+440\s+60"/> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
47 </assert_contents> |
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
48 </output> |
0
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
49 </test> |
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
50 </tests> |
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
51 <help><![CDATA[ |
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
52 |
5
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
53 For help please consult the documentation of HiCUP: https://www.bioinformatics.babraham.ac.uk/projects/hicup/read_the_docs/html/index.html |
0
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
54 |
5
a5934ac7c399
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
55 To get more information about the deduplicator visit: https://www.bioinformatics.babraham.ac.uk/projects/hicup/read_the_docs/html/index.html#hicup-deduplicator |
0
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
56 ]]></help> |
d515a0639f8e
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
57 <expand macro="citation_hicup" /> |
2
6cc9a607f899
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit c546c919808a853d3e1556cb28bb4a5f7e1f9932
bgruening
parents:
0
diff
changeset
|
58 </tool> |