view long_reads_sampling.xml @ 3:9819570dc020 draft

planemo upload for repository https://github.com/kavonrtep/galaxy_tools commit 5cc98a80e4e99f2b4089b9a8de458035304a6319
author petr-novak
date Fri, 08 Dec 2023 11:24:06 +0000
parents ccaedca97e5e
children 060fc04af21c
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"/>
  </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>