annotate fastq_dump_paired.xml @ 4:6c9eb322892d draft

Uploaded
author mandorodriguez
date Wed, 28 Oct 2015 17:43:11 -0400
parents b3e5722aa5e7
children 86e30bb1e54e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
6c9eb322892d Uploaded
mandorodriguez
parents: 3
diff changeset
1 <tool id="fastq_dump_paired" name="FASTQ Dump paired downloader" version="1.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>
4
6c9eb322892d Uploaded
mandorodriguez
parents: 3
diff changeset
20 <data format="fastqsanger" label="${accession_number}_1" name="forward_reads" from_work_dir="R1.fastq" >
0
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
21 </data>
4
6c9eb322892d Uploaded
mandorodriguez
parents: 3
diff changeset
22 <data format="fastqsanger" label="${accession_number}_2" 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
4
6c9eb322892d Uploaded
mandorodriguez
parents: 3
diff changeset
43 Data is stored in fastqsanger format.
6c9eb322892d Uploaded
mandorodriguez
parents: 3
diff changeset
44
6c9eb322892d Uploaded
mandorodriguez
parents: 3
diff changeset
45 The metadata is now named to make it easier for collection lists to
6c9eb322892d Uploaded
mandorodriguez
parents: 3
diff changeset
46 fetch when you search for reads in your history.
2
2ff0cde149b1 Uploaded
mandorodriguez
parents: 1
diff changeset
47
0
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
48 ------
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
49
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
50 .. class:: infomark
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
51
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
52 **Tool Author**
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
53
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
54 Mando Rodriguez
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
55
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
56 </help>
4a455773d235 Uploaded
mandorodriguez
parents:
diff changeset
57 </tool>