Mercurial > repos > iuc > fastqe
changeset 2:a252d8415583 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 7f1ac61222e3b10cd9a82c7b35ea53985c06ba9c"
author | iuc |
---|---|
date | Fri, 24 Jul 2020 14:30:21 -0400 |
parents | 8d3aff8ba8ad |
children | 819b8c1657d5 |
files | fastqe.xml |
diffstat | 1 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/fastqe.xml Mon Jul 20 08:04:02 2020 -0400 +++ b/fastqe.xml Fri Jul 24 14:30:21 2020 -0400 @@ -1,13 +1,17 @@ -<tool id="fastqe" name="FASTQE" version="0.2.6"> +<tool id="fastqe" name="FASTQE" version="0.2.6+galaxy0"> <description>visualize fastq files with emoji's 🧬😎</description> <requirements> <requirement type="package" version="0.2.6">fastqe</requirement> + <requirement type="package" version="4.7">sed</requirement> </requirements> <command detect_errors="exit_code"> <![CDATA[ - #for i in $input: - ln -s '$i' '$i.element_identifier' && + #import re + + #set $filenames = [re.sub('[^\w\-\s.]', '_', $i.element_identifier) for $i in $input] + #for $i, $filename in zip($input, $filenames): + ln -s '$i' '$filename' && #end for echo "<html><head><title>FASTQE Report 🤔</title></head><body><h1>FASTQE Report 🤔</h1>" > '$output' && @@ -18,8 +22,8 @@ --min --long $long --max - #for i in $input: - '$i.element_identifier' + #for $filename in $filenames: + '$filename' #end for | sed 's/$/<br>/;s/^\([^\t]*\)\t\([^\t]*\)\t/<h2>\1: \2<\/h2>\n/' >> '$output' && @@ -52,8 +56,6 @@ +=======+=======+ | N | 🚫 | +-------+-------+ -| N | 🚫 | -+-------+-------+ | 2-9 | 💀 | +-------+-------+ | 10–19 | 💩 |