Mercurial > repos > artbio > probecoverage
comparison probecoverage.xml @ 8:0adb846ca056 draft default tip
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/probecoverage commit 668f7e9be66ae301f840b395d72ddcc311da7aa2
author | artbio |
---|---|
date | Tue, 20 Feb 2024 08:34:16 +0000 |
parents | bea8435e1e79 |
children |
comparison
equal
deleted
inserted
replaced
7:bea8435e1e79 | 8:0adb846ca056 |
---|---|
1 <tool id="probecoverage" name="Probe Coverage" version="0.7.0"> | 1 <tool id="probecoverage" name="Probe Coverage" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
2 <description></description> | 2 <description></description> |
3 <requirements> | 3 <macros> |
4 <requirement type="package" version="1.10=h9402c20_2">samtools</requirement> | 4 <token name="@TOOL_VERSION@">0.22.0</token> |
5 <requirement type="package" version="2.29.2=hc088bd4_0">bedtools</requirement> | 5 <token name="@VERSION_SUFFIX@">0</token> |
6 <requirement type="package" version="1.6.4=r36h6115d3f_0">r-optparse</requirement> | 6 <token name="@PROFILE@">23.0</token> |
7 <requirement type="package" version="3.2.1=r36h6115d3f_0">r-ggplot2</requirement> | 7 </macros> |
8 <requirement type="package" version="1.17.3=py37h95a1406_0">numpy</requirement> | 8 <requirements> |
9 <requirement type="package" version="0.16.0.1">pysam</requirement> | 9 <requirement type="package" version="@TOOL_VERSION@">pysam</requirement> |
10 </requirements> | 10 <requirement type="package" version="2.31.1">bedtools</requirement> |
11 <requirement type="package" version="1.7.4">r-optparse</requirement> | |
12 <requirement type="package" version="3.4.4">r-ggplot2</requirement> | |
13 <requirement type="package" version="1.4.4">r-reshape2</requirement> | |
14 <requirement type="package" version="1.26.4">numpy</requirement> | |
15 </requirements> | |
11 <stdio> | 16 <stdio> |
12 <exit_code range="1:" level="fatal" description="Tool exception" /> | 17 <exit_code range="1:" level="fatal" description="Tool exception" /> |
13 </stdio> | 18 </stdio> |
14 <command detect_errors="exit_code"><![CDATA[ | 19 <command detect_errors="exit_code"><![CDATA[ |
15 #for $file in $inputs | 20 #for $i, $file in enumerate($inputs): |
16 samtools index '$file' && | 21 ln -f -s '$file' ${i}.bam && |
22 ln -f -s '$file.metadata.bam_index' ${i}.bam.bai && | |
17 #end for | 23 #end for |
18 #if $method == 'pysam': | 24 #if $method == 'pysam': |
19 python $__tool_directory__/multicov.py | 25 python $__tool_directory__/multicov.py |
20 #else: | 26 #else: |
21 bedtools multicov | 27 bedtools multicov |
22 #end if | 28 #end if |
23 -bams | 29 -bams |
24 #for $file in $inputs | 30 #for $i, $file in enumerate($inputs): |
25 '$file' | 31 '${i}.bam' |
26 #end for | 32 #end for |
27 -bed '$bed' > $coverage_dataframe && | 33 -bed '$bed' > $coverage_dataframe && |
28 Rscript '$__tool_directory__'/probecoverage.r | 34 Rscript '$__tool_directory__'/probecoverage.r |
29 --method '$method' | 35 --method '$method' |
30 --input '$coverage_dataframe' | 36 --input '$coverage_dataframe' |