Mercurial > repos > petr-novak > long_reads_sampling
view long_reads_sampling.xml @ 4:060fc04af21c draft default tip
planemo upload for repository https://github.com/kavonrtep/galaxy_tools commit dcff0045d0b212ebc5c4bef6a824bdbd3bb16ac3
author | petr-novak |
---|---|
date | Fri, 08 Dec 2023 13:11:02 +0000 |
parents | 9819570dc020 |
children |
line wrap: on
line source
<tool id="long_reads_sampling" name="Create sample of long reads" version="0.1.1"> <requirements> <requirement type="package">biopython</requirement> <requirement type="package" version="3.6" >python</requirement> </requirements> <required_files> <include type="literal" path="long2short.py"/> <include type="literal" path="long_reads_sampling.py"/> </required_files> <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>