annotate fastq_dump_paired.xml @ 2:2ff0cde149b1 draft

Uploaded
author mandorodriguez
date Tue, 06 Oct 2015 14:35:41 -0400
parents 3c39bed00a4c
children b3e5722aa5e7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3c39bed00a4c Uploaded
mandorodriguez
parents: 0
diff changeset
1 <tool id="fastq_dump_paired" name="FASTQ Dump paired downloader" version="1.1">
0
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
2 <description>Downloads a set of paired reads by their accession number using fastq-dump tool from sra-toolkit.</description>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
3 <requirements>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
4 <!-- Should just use the samtools that's installed in the path -->
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
5 <requirement type="binary">fastq-dump</requirement>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
6 </requirements>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
7 <command>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
8 ## The command is a Cheetah template which allows some Python based syntax.
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
9 ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
10 ## ! We only have a simple single command here.
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
11 fastq-dump --log-level fatal --split-3 --accession ${accession_number};
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
12 ls -lh | grep ${accession_number};
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
13 mv -v ${accession_number}_1.fastq R1.fastq;
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
14 mv -v ${accession_number}_2.fastq R2.fastq;
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
15 </command>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
16 <inputs>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
17 <param name="accession_number" size="10" type="text" value="" label="Accession Number"/>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
18 </inputs>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
19 <outputs>
1
3c39bed00a4c Uploaded
mandorodriguez
parents: 0
diff changeset
20 <data format="fastqsanger" label="${tool.name} on ${on_string}: Forward Reads" name="forward_reads" from_work_dir="R1.fastq" >
0
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
21 </data>
1
3c39bed00a4c Uploaded
mandorodriguez
parents: 0
diff changeset
22 <data format="fastqsanger" label="${tool.name} on ${on_string}: Reverse Reads" name="reverse_reads" from_work_dir="R2.fastq" >
0
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
23 </data>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
24 </outputs>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
25
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
26 <tests>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
27 <!-- Empty -->
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
28 </tests>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
29
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
30 <help>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
31
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
32 .. class:: infomark
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
33
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
34 **What it does**
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
35
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
36 Performs a fastq-dump with the split-3 option.
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
37
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
38 ::
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
39
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
40 fastq-dump --log-level fatal --split-3 --accession accession_number
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
41
2
2ff0cde149b1 Uploaded
mandorodriguez
parents: 1
diff changeset
42
2ff0cde149b1 Uploaded
mandorodriguez
parents: 1
diff changeset
43 Data is stored in fastqsanger format.
2ff0cde149b1 Uploaded
mandorodriguez
parents: 1
diff changeset
44
0
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
45 ------
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
46
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
47 .. class:: infomark
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
48
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
49 **Tool Author**
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
50
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
51 Mando Rodriguez
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
52
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
53 </help>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
54 </tool>