8
|
1 <tool id="fastq_dump_paired" name="FASTQ Dump paired downloader" version="1.1.4">
|
0
|
2 <description>Downloads a set of paired reads by their accession number using fastq-dump tool from sra-toolkit.</description>
|
|
3 <requirements>
|
|
4 <!-- Should just use the samtools that's installed in the path -->
|
|
5 <requirement type="binary">fastq-dump</requirement>
|
|
6 </requirements>
|
|
7 <command>
|
|
8 ## The command is a Cheetah template which allows some Python based syntax.
|
|
9 ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces
|
|
10 ## ! We only have a simple single command here.
|
5
|
11 fastq-dump --log-level fatal --split-3 --accession ${accession_number} --ncbi_error_report never;
|
0
|
12 ls -lh | grep ${accession_number};
|
|
13 mv -v ${accession_number}_1.fastq R1.fastq;
|
|
14 mv -v ${accession_number}_2.fastq R2.fastq;
|
|
15 </command>
|
|
16 <inputs>
|
|
17 <param name="accession_number" size="10" type="text" value="" label="Accession Number"/>
|
|
18 </inputs>
|
|
19 <outputs>
|
4
|
20 <data format="fastqsanger" label="${accession_number}_1" name="forward_reads" from_work_dir="R1.fastq" >
|
0
|
21 </data>
|
4
|
22 <data format="fastqsanger" label="${accession_number}_2" name="reverse_reads" from_work_dir="R2.fastq" >
|
0
|
23 </data>
|
|
24 </outputs>
|
|
25
|
|
26 <tests>
|
|
27 <!-- Empty -->
|
|
28 </tests>
|
|
29
|
|
30 <help>
|
|
31
|
|
32 .. class:: infomark
|
|
33
|
|
34 **What it does**
|
|
35
|
|
36 Performs a fastq-dump with the split-3 option.
|
|
37
|
|
38 ::
|
|
39
|
7
|
40 fastq-dump --log-level fatal --split-3 --accession accession_number --ncbi_error_report never
|
0
|
41
|
2
|
42
|
4
|
43 Data is stored in fastqsanger format.
|
|
44
|
|
45 The metadata is now named to make it easier for collection lists to
|
|
46 fetch when you search for reads in your history.
|
2
|
47
|
0
|
48 ------
|
|
49
|
|
50 .. class:: infomark
|
|
51
|
|
52 **Tool Author**
|
|
53
|
|
54 Mando Rodriguez
|
|
55
|
|
56 </help>
|
|
57 </tool> |