Mercurial > repos > galaxytrakr > aws_sra
annotate aws_sra.xml @ 19:a4186132e1c4 draft
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit ba119cea4881b4ff3a27470d8b426902977290b3
| author | galaxytrakr |
|---|---|
| date | Mon, 23 Mar 2026 22:01:24 +0000 |
| parents | 5680c31cd031 |
| children | 2b4efa539c71 |
| rev | line source |
|---|---|
|
19
a4186132e1c4
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit ba119cea4881b4ff3a27470d8b426902977290b3
galaxytrakr
parents:
18
diff
changeset
|
1 <tool id="aws_sra" name="NCBI SRA AWS Fetch" version="0.3.0+gt_0.19" 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 && |
|
19
a4186132e1c4
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit ba119cea4881b4ff3a27470d8b426902977290b3
galaxytrakr
parents:
18
diff
changeset
|
36 ( |
|
a4186132e1c4
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit ba119cea4881b4ff3a27470d8b426902977290b3
galaxytrakr
parents:
18
diff
changeset
|
37 #if str($layout) == 'paired' |
|
a4186132e1c4
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit ba119cea4881b4ff3a27470d8b426902977290b3
galaxytrakr
parents:
18
diff
changeset
|
38 mv ./fastq_out_${acc}/${acc}_1.fastq.gz '$output_r1_batch.files_path/${acc}_1.fastq.gz' && |
|
a4186132e1c4
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit ba119cea4881b4ff3a27470d8b426902977290b3
galaxytrakr
parents:
18
diff
changeset
|
39 mv ./fastq_out_${acc}/${acc}_2.fastq.gz '$output_r2_batch.files_path/${acc}_2.fastq.gz' |
|
a4186132e1c4
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit ba119cea4881b4ff3a27470d8b426902977290b3
galaxytrakr
parents:
18
diff
changeset
|
40 #else |
|
a4186132e1c4
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit ba119cea4881b4ff3a27470d8b426902977290b3
galaxytrakr
parents:
18
diff
changeset
|
41 mv ./fastq_out_${acc}/*.fastq.gz '$output_r1_batch.files_path/${acc}.fastq.gz' |
|
a4186132e1c4
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit ba119cea4881b4ff3a27470d8b426902977290b3
galaxytrakr
parents:
18
diff
changeset
|
42 #end if |
|
a4186132e1c4
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit ba119cea4881b4ff3a27470d8b426902977290b3
galaxytrakr
parents:
18
diff
changeset
|
43 ) && |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
44 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
|
45 #end if |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
46 #end for |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
47 #end if |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
48 ]]></command> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
49 |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
50 <inputs> |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
51 <conditional name="run_type"> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
52 <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
|
53 <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
|
54 <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
|
55 </param> |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
56 <when value="single"> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
57 <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
|
58 </when> |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
59 <when value="batch"> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
60 <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
|
61 </when> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
62 </conditional> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
63 <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
|
64 <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
|
65 <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
|
66 </param> |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
67 </inputs> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
68 |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
69 <outputs> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
70 <!-- Outputs for Single Run Mode --> |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
71 <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
|
72 <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
|
73 </data> |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
74 <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
|
75 <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
|
76 </data> |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
77 |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
78 <!-- Outputs for Batch Mode --> |
|
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
79 <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
|
80 <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
|
81 <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
|
82 </collection> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
83 <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
|
84 <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
|
85 <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
|
86 </collection> |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
87 </outputs> |
|
17
9fb80e0392ce
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 9707fa5e3ca6db5b58f271d133484d078cf65390
galaxytrakr
parents:
16
diff
changeset
|
88 |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
89 <help><![CDATA[ |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
90 **NCBI SRA AWS Fetch** |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
91 |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
92 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
|
93 |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
94 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
|
95 |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
96 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
|
97 ]]></help> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
98 |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
99 <citations> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
100 <citation type="bibtex"> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
101 @misc{ncbi_sra_aws, |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
102 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
|
103 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
|
104 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
|
105 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
|
106 } |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
107 </citation> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
108 <citation type="bibtex"> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
109 @article{sra_toolkit, |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
110 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
|
111 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
|
112 {International Nucleotide Sequence Database Collaboration}}, |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
113 journal = {Nucleic Acids Research}, |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
114 volume = {39}, |
|
13
2897d365dd62
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 619ebd7e6a24be0ec6c2728511290f43b0bad89f
galaxytrakr
parents:
12
diff
changeset
|
115 number = {suppl\\\_1}, |
|
0
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
116 pages = {D19--D21}, |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
117 year = {2011}, |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
118 doi = {10.1093/nar/gkq1019} |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
119 } |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
120 </citation> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
121 </citations> |
|
a4afe551dfc9
planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit c55c06b92c0ee0429047bcff1992bf2ec293284a
galaxytrakr
parents:
diff
changeset
|
122 </tool> |
