Mercurial > repos > mandorodriguez > fastqdump_paired
view fastq_dump_paired.xml @ 4:6c9eb322892d draft
Uploaded
author | mandorodriguez |
---|---|
date | Wed, 28 Oct 2015 17:43:11 -0400 |
parents | b3e5722aa5e7 |
children | 86e30bb1e54e |
line wrap: on
line source
<tool id="fastq_dump_paired" name="FASTQ Dump paired downloader" version="1.1.1"> <description>Downloads a set of paired reads by their accession number using fastq-dump tool from sra-toolkit.</description> <requirements> <!-- Should just use the samtools that's installed in the path --> <requirement type="binary">fastq-dump</requirement> </requirements> <command> ## The command is a Cheetah template which allows some Python based syntax. ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces ## ! We only have a simple single command here. fastq-dump --log-level fatal --split-3 --accession ${accession_number}; ls -lh | grep ${accession_number}; mv -v ${accession_number}_1.fastq R1.fastq; mv -v ${accession_number}_2.fastq R2.fastq; </command> <inputs> <param name="accession_number" size="10" type="text" value="" label="Accession Number"/> </inputs> <outputs> <data format="fastqsanger" label="${accession_number}_1" name="forward_reads" from_work_dir="R1.fastq" > </data> <data format="fastqsanger" label="${accession_number}_2" name="reverse_reads" from_work_dir="R2.fastq" > </data> </outputs> <tests> <!-- Empty --> </tests> <help> .. class:: infomark **What it does** Performs a fastq-dump with the split-3 option. :: fastq-dump --log-level fatal --split-3 --accession accession_number Data is stored in fastqsanger format. The metadata is now named to make it easier for collection lists to fetch when you search for reads in your history. ------ .. class:: infomark **Tool Author** Mando Rodriguez </help> </tool>