# HG changeset patch
# User iuc
# Date 1463508890 14400
# Node ID 462ee06c9358a7135d49872844acff869445f8d7
# Parent b723c120161a5e7ed20b2c79545e184ff0597e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
diff -r b723c120161a -r 462ee06c9358 fastq_dump.xml
--- a/fastq_dump.xml Sun Dec 06 09:04:37 2015 -0500
+++ b/fastq_dump.xml Tue May 17 14:14:50 2016 -0400
@@ -1,4 +1,4 @@
-
+
in FASTQ/A format from NCBI SRA.
sra_macros.xml
@@ -10,6 +10,18 @@
fastq-dump --version
"$output_file"
+ #elif $input.input_select=="file_list":
+ "\$acc"
#else:
- "$input.accession" > "$output_accession"
+ --stdout
+ "\$acc" > "$output_accession" )
#end if
+
+ #if $input.input_select=="file_list":
+ ) ; done
+
+ ;
+
+
+ #if str( $outputformat ) == "fasta":
+
+ for f in *_2.fasta ; do mv "\$f" "`basename \$f _2.fasta`_reverse.fasta" ; mv "`basename \$f _2.fasta`_1.fasta" "`basename \$f _2.fasta`_forward.fasta" ; done &&
+ for f in *_1.fasta; do mv "\$f" "`basename \$f _1.fasta`__single.fasta"; done
+
+ #else:
+
+ for f in *_2.fastq ; do mv "\$f" "`basename \$f _2.fastq`_reverse.fastq" ; mv "`basename \$f _2.fastq`_1.fastq" "`basename \$f _2.fastq`_forward.fastq" ; done &&
+ for f in *_1.fastq; do mv "\$f" "`basename \$f _1.fastq`__single.fastq"; done
+
+ #end if
+
+
+
+
+
+ #end if
+
+
]]>
@@ -105,45 +149,62 @@
-
- input['input_select'] == "accession_number"
-
-
-
-
-
- input['input_select'] == "file"
-
-
-
-
+
+ input['input_select'] == "file_list"
+
+
+
+
+
+ input['input_select'] == "file_list"
+
+
+
+
+ input['input_select'] == "accession_number"
+
+
+
+
+
+ input['input_select'] == "file"
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
This tool extracts reads from SRA archives using fastq-dump.
The fastq-dump program is developed at NCBI, and is available at
http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=software.
+
+ NB: Single-end or pair-end collections may be empty if given SRRs LibraryLayout contains only either SINGLE or PAIRED respectively
@SRATOOLS_ATTRRIBUTION@
-
+
diff -r b723c120161a -r 462ee06c9358 sam_dump.xml
--- a/sam_dump.xml Sun Dec 06 09:04:37 2015 -0500
+++ b/sam_dump.xml Tue May 17 14:14:50 2016 -0400
@@ -1,4 +1,4 @@
-
+
in SAM or BAM format from NCBI SRA.
sra_macros.xml
@@ -7,6 +7,19 @@
sam-dump --version
/dev/null
#end if
#if $input.input_select == "file":
> "$output_file"
#elif $input.input_select == "accession_number":
- > "$output_accession"
+ > "$output_accession" )
#end if
+
+ #if $input.input_select=="file_list":
+ #if str( $outputformat ) == "bam":
+ > "\$acc.bam"
+ #elif str( $outputformat ) == "sam":
+ > "\$acc.sam"
+ #end if
+ ) ; done
+ #end if
+
+
]]>
@@ -86,6 +113,11 @@
+
+ input['input_select'] == "file_list"
+
+
+
input['input_select'] == "accession_number"
diff -r b723c120161a -r 462ee06c9358 sra_macros.xml
--- a/sra_macros.xml Sun Dec 06 09:04:37 2015 -0500
+++ b/sra_macros.xml Tue May 17 14:14:50 2016 -0400
@@ -1,9 +1,10 @@
- ngs_sdk
- ncbi_vdb
- sra_toolkit
+ ngs_sdk
+ ncbi_vdb
+ sra_toolkit
+ sra-tools
perl
@@ -12,13 +13,17 @@
+
-
+
+
+
+
@@ -45,8 +50,16 @@
10.1093/nar/gkq1019
- Browse the NCBI SRA for SRR accessions at http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=studies.
+
+ Browse the NCBI SRA for SRR accessions at http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=studies.
+
Galaxy tool wrapper originally written by Matt Shirley (mdshw5 at gmail.com).
+
+ Wrapper modified by Philip Mabon ( philip.mabon at phac-aspc.gc.ca ).
+
Tool dependencies, clean-up and bug-fixes by Marius van den Beek (m.vandenbeek at gmail.com).
- For support and bug reports contact Matt Shirley or Marius van den Beek or go to https://github.com/galaxyproject/tools-iuc.
+
+ For support and bug reports contact Matt Shirley or Marius van den Beek or go to https://github.com/galaxyproject/tools-iuc.
+
+
diff -r b723c120161a -r 462ee06c9358 tool_dependencies.xml
--- a/tool_dependencies.xml Sun Dec 06 09:04:37 2015 -0500
+++ b/tool_dependencies.xml Tue May 17 14:14:50 2016 -0400
@@ -1,15 +1,15 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
+