Mercurial > repos > iuc > ivar_trim
comparison ivar_trim.xml @ 4:db536ad45f28 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 693df287d23b0fd9dfd134b41d401a438c3f5ad6"
author | iuc |
---|---|
date | Mon, 22 Jun 2020 07:30:46 -0400 |
parents | 5d6ed46cc101 |
children | cf65217ad61c |
comparison
equal
deleted
inserted
replaced
3:5d6ed46cc101 | 4:db536ad45f28 |
---|---|
1 <tool id="ivar_trim" name="ivar trim" version="@VERSION@+galaxy0"> | 1 <tool id="ivar_trim" name="ivar trim" version="@VERSION@+galaxy1"> |
2 <description>Trim reads in aligned BAM</description> | 2 <description>Trim reads in aligned BAM</description> |
3 <macros> | 3 <macros> |
4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
5 </macros> | 5 </macros> |
6 <expand macro="requirements" /> | 6 <expand macro="requirements"> |
7 <requirement type="package" version="3.8.1">python</requirement> | |
8 </expand> | |
7 <expand macro="version_command" /> | 9 <expand macro="version_command" /> |
8 <command detect_errors="exit_code"><![CDATA[ | 10 <command detect_errors="exit_code"><![CDATA[ |
9 #if $primer.source == "history" | 11 #if $primer.source == "history" |
10 ln -s '$primer.input_bed' bed.bed && | 12 cp '$primer.input_bed' bed.bed && |
11 #else | 13 #else |
12 ln -s '$primer.cached_bed.fields.path' bed.bed && | 14 cp '$primer.cached_bed.fields.path' bed.bed && |
13 #end if | 15 #end if |
16 python '$__tool_directory__/sanitize_bed.py' bed.bed && | |
17 | |
14 ln -s '$input_bam' sorted.bam && | 18 ln -s '$input_bam' sorted.bam && |
19 ln -s '${input_bam.metadata.bam_index}' sorted.bam.bai && | |
20 | |
15 ivar trim | 21 ivar trim |
16 -i sorted.bam | 22 -i sorted.bam |
17 -b bed.bed | 23 -b bed.bed |
18 -m $min_len | 24 -m $min_len |
19 -q $min_qual | 25 -q $min_qual |
55 <param name="input_bam" value="covid19/PC00101P_sub.sorted.bam" /> | 61 <param name="input_bam" value="covid19/PC00101P_sub.sorted.bam" /> |
56 <param name="input_bed" value="covid19/ARTIC-V1.bed" /> | 62 <param name="input_bed" value="covid19/ARTIC-V1.bed" /> |
57 <param name="inc_primers" value="true" /> | 63 <param name="inc_primers" value="true" /> |
58 <output name="output_bam" file="covid19/PC00101P_sub.sorted.bam" compare="sim_size" delta="300000"/> | 64 <output name="output_bam" file="covid19/PC00101P_sub.sorted.bam" compare="sim_size" delta="300000"/> |
59 </test> | 65 </test> |
66 <test> | |
67 <!-- Test with primer bed file that needs to be sanitized --> | |
68 <param name="input_bam" value="covid19/PC00101P_sub.sorted.bam" /> | |
69 <param name="input_bed" value="covid19/ARTIC-V1-bad.bed" /> | |
70 <param name="inc_primers" value="true" /> | |
71 <output name="output_bam" file="covid19/PC00101P_sub.sorted.bam" compare="sim_size" delta="300000"/> | |
72 </test> | |
60 <!-- #1: Zika data--> | 73 <!-- #1: Zika data--> |
61 <test> | 74 <test> |
62 <conditional name="primer"> | 75 <conditional name="primer"> |
63 <param name="source" value="history" /> | 76 <param name="source" value="history" /> |
64 <param name="input_bed" value="zika/db/zika_primers.bed" /> | 77 <param name="input_bed" value="zika/db/zika_primers.bed" /> |