Mercurial > repos > galaxytrakr > aws_sra
annotate aws_sra.xml @ 18:5680c31cd031 draft
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 593c33d4de9fd7663766c8463d56e4defd608b04
| author | galaxytrakr |
|---|---|
| date | Mon, 23 Mar 2026 20:51:03 +0000 |
| parents | 9fb80e0392ce |
| children | a4186132e1c4 |
| rev | line source |
|---|---|
|
18
5680c31cd031
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 593c33d4de9fd7663766c8463d56e4defd608b04
galaxytrakr
parents:
17
diff
changeset
|
1 <tool id="aws_sra" name="NCBI SRA AWS Fetch" version="0.3.0+gt_0.18" profile="23.0"> |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
2 <description>Fetches SRA runs from AWS and converts them to FASTQ</description> |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
3 <requirements> |
|
2
83c923bd9da6
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit a95de952e58b29875b31e55f0ef06a83a18618fc
galaxytrakr
parents:
1
diff
changeset
|
4 <requirement type="package" version="2.34.8">awscli</requirement> |
|
83c923bd9da6
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit a95de952e58b29875b31e55f0ef06a83a18618fc
galaxytrakr
parents:
1
diff
changeset
|
5 <requirement type="package" version="3.2.1">sra-tools</requirement> |
|
83c923bd9da6
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit a95de952e58b29875b31e55f0ef06a83a18618fc
galaxytrakr
parents:
1
diff
changeset
|
6 <requirement type="package" version="2.8">pigz</requirement> |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
7 </requirements> |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
8 <version_command>fasterq-dump --version</version_command> |
|
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
9 |
|
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
10 <command detect_errors="aggressive"><![CDATA[ |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
11 ## Single Run Mode |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
12 #if $run_type.mode == 'single' |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
13 #set $acc = str($run_type.accession).strip() |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
14 echo "Processing single accession: $acc" && |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
15 mkdir -p sra_cache fastq_out && |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
16 aws s3 cp --no-sign-request 's3://sra-pub-run-odp/sra/${acc}/${acc}' ./sra_cache/ && |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
17 fasterq-dump --outdir ./fastq_out --temp . --threads \${GALAXY_SLOTS:-4} --split-files ./sra_cache/${acc} && |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
18 pigz -p \${GALAXY_SLOTS:-4} ./fastq_out/*.fastq && |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
19 #if str($layout) == 'paired' |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
20 mv ./fastq_out/${acc}_1.fastq.gz '$output_r1_single' && |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
21 mv ./fastq_out/${acc}_2.fastq.gz '$output_r2_single' |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
22 #else |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
23 mv ./fastq_out/*.fastq.gz '$output_r1_single' |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
24 #end if |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
25 |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
26 ## Batch Run Mode |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
27 #else |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
28 #for $acc in $run_type.accession_list.lines: |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
29 #set $acc = $acc.strip() |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
30 #if $acc: |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
31 echo "Processing batch accession: $acc" && |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
32 mkdir -p sra_cache_${acc} fastq_out_${acc} && |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
33 aws s3 cp --no-sign-request 's3://sra-pub-run-odp/sra/${acc}/${acc}' ./sra_cache_${acc}/ && |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
34 fasterq-dump --outdir ./fastq_out_${acc} --temp . --threads \${GALAXY_SLOTS:-4} --split-files ./sra_cache_${acc}/${acc} && |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
35 pigz -p \${GALAXY_SLOTS:-4} ./fastq_out_${acc}/*.fastq && |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
36 #if str($layout) == 'paired' |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
37 # Move files to the special path for collection discovery |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
38 mv ./fastq_out_${acc}/${acc}_1.fastq.gz '$output_r1_batch.files_path/${acc}_1.fastq.gz' && |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
39 mv ./fastq_out_${acc}/${acc}_2.fastq.gz '$output_r2_batch.files_path/${acc}_2.fastq.gz' |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
40 #else |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
41 mv ./fastq_out_${acc}/*.fastq.gz '$output_r1_batch.files_path/${acc}.fastq.gz' |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
42 #end if && |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
43 rm -rf sra_cache_${acc} fastq_out_${acc} |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
44 #end if |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
45 #end for |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
46 #end if |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
47 ]]></command> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
48 |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
49 <inputs> |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
50 <conditional name="run_type"> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
51 <param name="mode" type="select" label="Execution Mode"> |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
52 <option value="single" selected="true">Single Accession</option> |
|
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
53 <option value="batch">Batch of Accessions</option> |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
54 </param> |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
55 <when value="single"> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
56 <param name="accession" type="text" label="SRA Accession"/> |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
57 </when> |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
58 <when value="batch"> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
59 <param name="accession_list" type="data" format="txt" label="List of SRA Accessions"/> |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
60 </when> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
61 </conditional> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
62 <param name="layout" type="select" label="Read layout"> |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
63 <option value="paired" selected="true">Paired-end (R1 + R2)</option> |
|
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
64 <option value="single">Single-end</option> |
|
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
65 </param> |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
66 </inputs> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
67 |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
68 <outputs> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
69 <!-- Outputs for Single Run Mode --> |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
70 <data name="output_r1_single" format="fastqsanger.gz" label="${run_type.accession}_1.fastq.gz"> |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
71 <filter>run_type['mode'] == 'single'</filter> |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
72 </data> |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
73 <data name="output_r2_single" format="fastqsanger.gz" label="${run_type.accession}_2.fastq.gz"> |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
74 <filter>run_type['mode'] == 'single' and layout == 'paired'</filter> |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
75 </data> |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
76 |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
77 <!-- Outputs for Batch Mode --> |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
78 <collection name="output_r1_batch" type="list" label="FASTQ Reads (R1)"> |
|
15
25cf81d65cb8
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit fd740a9434d21f68658fe261b1b043033e491b05
galaxytrakr
parents:
14
diff
changeset
|
79 <discover_datasets pattern="(?P<designation>.+)_1\.fastq\.gz" format="fastqsanger.gz" /> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
80 <filter>run_type['mode'] == 'batch'</filter> |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
81 </collection> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
82 <collection name="output_r2_batch" type="list" label="FASTQ Reads (R2)"> |
|
15
25cf81d65cb8
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit fd740a9434d21f68658fe261b1b043033e491b05
galaxytrakr
parents:
14
diff
changeset
|
83 <discover_datasets pattern="(?P<designation>.+)_2\.fastq\.gz" format="fastqsanger.gz" /> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
84 <filter>run_type['mode'] == 'batch' and layout == 'paired'</filter> |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
85 </collection> |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
86 </outputs> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
87 |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
88 <help><![CDATA[ |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
89 **NCBI SRA AWS Fetch** |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
90 |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
91 Fetches SRA runs from the public `sra-pub-run-odp` bucket on Amazon S3 and converts them to gzip-compressed FASTQ using `fasterq-dump`. |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
92 |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
93 This tool can be run on a single SRA accession or a list of accessions provided as a text file (one per line). |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
94 |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
95 Outputs are automatically organized into collections suitable for downstream analysis. |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
96 ]]></help> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
97 |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
98 <citations> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
99 <citation type="bibtex"> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
100 @misc{ncbi_sra_aws, |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
101 title = {{NCBI} {SRA} on {AWS} Open Data}, |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
102 author = {{National Center for Biotechnology Information}}, |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
103 howpublished = {\\url{https://registry.opendata.aws/ncbi-sra/}}, |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
104 note = {Accessed via AWS S3 without credentials} |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
105 } |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
106 </citation> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
107 <citation type="bibtex"> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
108 @article{sra_toolkit, |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
109 title = {The {NCBI} {SRA} and portable data in biology}, |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
110 author = {Leinonen, Rasko and Sugawara, Hideaki and Shumway, Martin and |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
111 {International Nucleotide Sequence Database Collaboration}}, |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
112 journal = {Nucleic Acids Research}, |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
113 volume = {39}, |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
114 number = {suppl\\\_1}, |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
115 pages = {D19--D21}, |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
116 year = {2011}, |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
117 doi = {10.1093/nar/gkq1019} |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
118 } |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
119 </citation> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
120 </citations> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
121 </tool> |
