Mercurial > repos > petr-novak > long_reads_sampling
view long_reads_sampling.xml @ 2:ccaedca97e5e draft
planemo upload for repository https://github.com/kavonrtep/galaxy_tools commit 2b3bc2334397749509cdf6fc432d891a09763c4f-dirty
author | petr-novak |
---|---|
date | Fri, 08 Dec 2023 09:17:46 +0000 |
parents | 5596bafd2119 |
children | 9819570dc020 |
line wrap: on
line source
<tool id="long_reads_sampling" name="Create sample of long reads" version="0.1.0"> <requirements> <requirement type="package">biopython</requirement> <requirement type="package" version="3.6" >python</requirement> <requirement type="literal" path="long2short.py"/> </requirements> <command detect_errors="exit_code"><![CDATA[ python3 $__tool_directory__/long_reads_sampling.py -i "$input1" -o "$output1" -l ${total_length} -s ${seed} ]]></command> <inputs> <param type="data" name="input1" format="fasta" label="input sequence in fasta format"/> <param name="total_length" type="integer" label="Total length of sampled sequences" value="10000" /> <param name="seed" type="integer" label="seed for setting random number generator" value="123" /> </inputs> <outputs> <data name="output1" format="fasta" /> </outputs> <tests> <test> <param name="input1" value="read_10k_ALL_oxford_nanopore_sample" /> <param name="total_length" value="1000000" /> <param name="seed" value="123" /> <output name="output1" file="sampled.fasta"/> </test> </tests> <help><![CDATA[ This tools is for random sampling of long reads te get specified total amount of data ]]></help> <citations> </citations> </tool>