Mercurial > repos > iuc > bellerophon
annotate bellerophon.xml @ 0:eca6296a091a draft
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
author | iuc |
---|---|
date | Fri, 28 May 2021 20:54:47 +0000 |
parents | |
children | 25ca5d73aedf |
rev | line source |
---|---|
0
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
1 <tool id="bellerophon" name="Filter and merge" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01"> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
2 <description>chimeric reads from Arima Genomics</description> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
3 <macros> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
4 <token name="@TOOL_VERSION@">1.0</token> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
5 <token name="@VERSION_SUFFIX@">0</token> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
6 </macros> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
7 <requirements> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
8 <requirement type="package" version="@TOOL_VERSION@">bellerophon</requirement> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
9 <requirement type="package" version="1.12">samtools</requirement> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
10 </requirements> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
11 <command detect_errors="exit_code"><![CDATA[ |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
12 #if $forward.is_of_type("sam"): |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
13 #set $forward_input = 'forward_input.sam' |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
14 ln -s '${forward}' '$forward_input' && |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
15 #else: |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
16 #set $forward_input = 'forward_input.bam' |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
17 ln -s '${forward}' '$forward_input' && |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
18 #end if |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
19 #if $reverse.is_of_type("sam"): |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
20 #set $reverse_input = 'reverse_input.sam' |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
21 ln -s '${reverse}' '$reverse_input' && |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
22 #else: |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
23 #set $reverse_input = 'reverse_input.bam' |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
24 ln -s '${reverse}' '$reverse_input' && |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
25 #end if |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
26 bellerophon |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
27 --forward $forward_input |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
28 --reverse $reverse_input |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
29 --quality $quality |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
30 --output 'merged_out.bam' |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
31 && samtools sort --no-PG -O BAM -o '$outfile' -@ \${GALAXY_SLOTS:-1} merged_out.bam |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
32 ]]> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
33 </command> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
34 <inputs> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
35 <param argument="--forward" type="data" format="qname_sorted.bam,sam" label="First set of reads" |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
36 help="This is usually the forward reads in your experiment." /> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
37 <param argument="--reverse" type="data" format="qname_sorted.bam,sam" label="Second set of reads" |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
38 help="This is usually the reverse reads in your experiment." /> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
39 <param argument="--quality" type="integer" value="20" label="Minimum mapping quality"/> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
40 </inputs> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
41 <outputs> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
42 <data name="outfile" format="bam"/> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
43 </outputs> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
44 <tests> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
45 <test expect_num_outputs="1"> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
46 <param name="forward" value="forward.bam" ftype="qname_sorted.bam" /> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
47 <param name="reverse" value="reverse.bam" ftype="qname_sorted.bam" /> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
48 <param name="quality" value="20" /> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
49 <output name="outfile" file="merged-out.bam" ftype="bam" /> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
50 </test> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
51 <test expect_num_outputs="1"> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
52 <param name="forward" value="forward.sam" ftype="sam" /> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
53 <param name="reverse" value="reverse.sam" ftype="sam" /> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
54 <param name="quality" value="12" /> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
55 <output name="outfile" file="merged-sam.bam" ftype="bam" /> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
56 </test> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
57 </tests> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
58 <help><![CDATA[ |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
59 Filter mapped reads where the mapping spans a junction, retaining the 5-prime read. This is usually needed when dealing with data from Arima Genomics. |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
60 ]]></help> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
61 <citations> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
62 <citation type="doi">10.1038/s41586-021-03451-0</citation> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
63 </citations> |
eca6296a091a
"planemo upload for repository https://github.com/davebx/bellerophon commit 5fe46c36adac4843cd548802073aa62b0afc61cd"
iuc
parents:
diff
changeset
|
64 </tool> |