Mercurial > repos > bgruening > hicup_truncater
annotate hicup_truncater.xml @ 1:bff92f79ad21 draft
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b4d9ad47b45abb117a059214e1f7b29d084b4ca3
author | bgruening |
---|---|
date | Sat, 19 Aug 2017 07:40:00 -0400 |
parents | f413e09ae289 |
children | e525d4f051b9 |
rev | line source |
---|---|
0
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
1 <tool id="hicup_truncater" name="Hicup Truncater" version="0.1.0"> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
2 <description>terminates sequence reads at specified Hi-C ligation junctions.</description> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
3 <macros> |
f413e09ae289
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> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
5 </macros> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
6 <expand macro="requirements_hicup" /> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
7 <expand macro="stdio" /> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
8 <command><![CDATA[ |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
9 hicup_truncater --re1 '$re1' $advanced_options.nofill |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
10 #if $advanced_options.sequences: |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
11 --sequences '$advanced_options.sequences' |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
12 #end if |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
13 '$input_first_sequence' '$input_second_sequence' |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
14 |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
15 && mv hicup_truncater_summary* hicup_truncater_summary.txt |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
16 && trunc_result_1=\$(echo '$input_first_sequence' | rev | cut -d'/' -f1 | rev) |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
17 |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
18 && mv \$trunc_result_1.trunc.fastq dataset1.trunc.fastq |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
19 && trunc_result_2=\$(echo '$input_second_sequence' | rev | cut -d'/' -f1 | rev) |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
20 && mv \$trunc_result_2.trunc.fastq dataset2.trunc.fastq |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
21 && mv \$trunc_result_1.truncation_barchart.svg dataset1.truncation_barchart.svg |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
22 && mv \$trunc_result_2.truncation_barchart.svg dataset2.truncation_barchart.svg |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
23 |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
24 ]]></command> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
25 <inputs> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
26 <expand macro="input_files" /> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
27 <expand macro="re1" /> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
28 <section name="advanced_options" title="Advanced options"> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
29 <expand macro="no_fill" /> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
30 <param argument="--sequences" type="text" value="" label="Ligation sequence" help="Instead of specifying a restriction enzyme recognition sequence, specify the ligation sequences directly"/> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
31 </section> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
32 </inputs> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
33 <outputs> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
34 <expand macro="truncater_output" /> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
35 |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
36 </outputs> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
37 <tests> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
38 <test> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
39 <param name="input_first_sequence" value="dataset1.fastq" ftype="fastq"/> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
40 <param name="input_second_sequence" value="dataset2.fastq" ftype="fastq"/> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
41 <param name="re1" value="A^AGCTT"/> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
42 |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
43 <output name="hicup_truncater_summary" file="hicup_truncater_summary.txt" lines_diff="8"/> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
44 <output name="dataset1_trunc" file="dataset1.trunc.fastq" lines_diff="8" /> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
45 <output name="dataset2_trunc" file="dataset2.trunc.fastq" lines_diff="8"/> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
46 <output name="dataset1_truncater_barchart" file="dataset1.truncation_barchart.svg" ftype="svg" lines_diff="1000" /> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
47 <output name="dataset2_truncater_barchart" file="dataset2.truncation_barchart.svg" ftype="svg" lines_diff="1000" /> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
48 </test> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
49 </tests> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
50 <help><![CDATA[ |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
51 |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
52 For help please consult the documentation of HiCUP: http://www.bioinformatics.babraham.ac.uk/projects/hicup/overview/ |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
53 |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
54 To get more information about the truncater visit: http://www.bioinformatics.babraham.ac.uk/projects/hicup/scripts_description/#Truncater |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
55 ]]></help> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
56 |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
57 <expand macro="citation_hicup" /> |
f413e09ae289
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
58 </tool> |