# HG changeset patch # User Matt Shirley # Date 1380157720 14400 # Node ID 293927a46697e64a9a82cdb28745fabe99d75880 # Parent da2dbe22f80b05f916bfbdb5d2865f390ce2c0af Move from test tool shed diff -r da2dbe22f80b -r 293927a46697 README.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.txt Wed Sep 25 21:08:40 2013 -0400 @@ -0,0 +1,39 @@ +The Galaxy tool wrappers contained in this tool shed repository rely on software developed by +the NCBI Sequence Read Archive: http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=software. +Use of SRA Toolkit software herin should comply with the GPL v2 or greater. + +Copyright (C) 2013 Matthew Shirley + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +INSTALLATION + +This software release was designed to run under Linux, MacOSX operating systems on Intel x86-compatible 64 bit architectures. + +Build Requirements: + ar + bash + make + gcc, g++ + libxml2 + libcurl4 + zlib + +On a debian based Linux OS use: + + apt-get install build-essential libxml2-dev libcurl4-openssl-dev zlib-dev + +CONTROLLED-ACCESS DATA + +Encrypted, controlled-access data is not supported in this version of the SRA Toolkit Galaxy tool shed. \ No newline at end of file diff -r da2dbe22f80b -r 293927a46697 datatypes_conf.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/datatypes_conf.xml Wed Sep 25 21:08:40 2013 -0400 @@ -0,0 +1,9 @@ + + + + + + + + + diff -r da2dbe22f80b -r 293927a46697 fastq_dump.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fastq_dump.xml Wed Sep 25 21:08:40 2013 -0400 @@ -0,0 +1,123 @@ + + from NCBI SRA. + + fastq-dump --log-level fatal + #if $input.input_select == "file": + --accession '${input.file.name}' + #else: + --accession $input.accession + #end if + --defline-seq '@\$sn[_\$rn]/\$ri' + --stdout + #if $split == "yes": + --split-spot + #end if + #if str( $alignments ) == "aligned": + --aligned + #end if + #if str( $alignments ) == "unaligned": + --unaligned + #end if + #if str( $minID ) != "": + --minSpotId $minID + #end if + #if str( $maxID ) != "": + --maxSpotId $maxID + #end if + #if str( $minlen ) != "": + --minReadLen $minlen + #end if + #if str( $readfilter ) != "": + --read-filter $readfilter + #end if + #if str( $region ) != "": + --aligned-region $region + #end if + #if str( $spotgroups ) != "": + --spot-groups $spotgroups + #end if + #if str( $matepairDist ) != "": + --matepair-distance $matepairDist + #end if + #if $clip == "yes": + --clip + #end if + #if str( $outputformat ) == "fasta": + --fasta + #end if + #if $input.input_select=="file": + $input.file + #else: + $input.accession + #end if + > $output + + fastq-dump --version + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sra_toolkit + + + This tool extracts reads from SRA archives using fastq-dump. + Browse the NCBI SRA for SRR accessions at http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=studies. + The fastq-dump program is developed at NCBI, and is available at: http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=software. + Contact Matt Shirley at mdshw5@gmail.com for support and bug reports. + + diff -r da2dbe22f80b -r 293927a46697 sam_dump.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sam_dump.xml Wed Sep 25 21:08:40 2013 -0400 @@ -0,0 +1,99 @@ + + in SAM format from NCBI SRA. + + sam-dump --log-level fatal + #if str( $region ) != "": + --aligned-region $region + #end if + #if str( $matepairDist ) != "": + --matepair-distance $matepairDist + #end if + #if str( $minMapq ) != "": + --minmapq $minMapq + #end if + #if $header == "yes": + --header + #else: + --no-header + #end if + #if str( $alignments ) == "both": + --unaligned + #end if + #if str( $alignments ) == "unaligned": + --unaligned-spots-only + #end if + #if (str( $primary ) == "yes") and (str ( $alignments != "unaligned") ): + --primary + #end if + #if str( $fastq ) == "yes": + --fastq + #end if + #if $input.input_select == "file": + $input.file + #elif $input.input_select == "accession_number": + $input.accession + #elif $input.input_select == "text": + `cat $input.text` + #end if + > $output + + sam-dump --version + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sra_toolkit + + + This tool extracts reads from sra archives using sam-dump. + Browse the NCBI SRA for SRR accessions at http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=studies. + The sam-dump program is developed at NCBI, and is available at: http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=software. + Contact Matt Shirley at mdshw5@gmail.com for support and bug reports. + + \ No newline at end of file diff -r da2dbe22f80b -r 293927a46697 sra_pileup.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sra_pileup.xml Wed Sep 25 21:08:40 2013 -0400 @@ -0,0 +1,51 @@ + + from NCBI sra. + sra-pileup --log-level fatal + #if str( $region ) != "": + --aligned-region $region + #end if + #if str( $minMapq ) != "": + --minmapq $minMapq + #end if + #if $input.input_select == "file": + $input.file + #elif $input.input_select == "accession_number": + $input.accession + #elif $input.input_select == "text": + `cat $input.text` + #end if + > $output + sra-pileup --version + + + + + + + + + + + + + + + + + + + + + + + + + sra_toolkit + + + This tool produces pileup format from sra archives using sra-pileup. + Browse the NCBI SRA for SRR accessions at http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=studies. + The sra-pileup program is developed at NCBI, and is available at: http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=software. + Contact Matt Shirley at mdshw5@gmail.com for support and bug reports. + + diff -r da2dbe22f80b -r 293927a46697 tool_dependencies.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Wed Sep 25 21:08:40 2013 -0400 @@ -0,0 +1,37 @@ + + + + + + http://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/2.3.3-3/sra_sdk-2.3.3-3.tar.gz + make release + make static + make + $INSTALL_DIR/bin + $INSTALL_DIR/ncbi + $INSTALL_DIR/ncbi/public + sed -i -e "s|\$(HOME)|$INSTALL_DIR|g" -e "s|cache-enabled = \"true\"|cache-enabled = \"false\"|" bin64/ncbi/default.kfg + cp --recursive --dereference bin64/* $INSTALL_DIR/bin + $INSTALL_DIR/bin + + + Tools from NCBI SRA Toolkit for extracting FASTQ and SAM format reads from SRA format archives. +This software release was designed to run under Linux, MacOSX operating systems on Intel x86-compatible 64 bit architectures. +When running on Amazon EC2, be sure to keep in mind the size limitation of EBS storage devices when requesting a +download of a large SRA data set. + +Build Requirements: + ar + bash + make + gcc, g++ + libxml2 + libcurl4 + zlib + +On a debian based Linux OS use: + + apt-get install build-essential libxml2-dev libcurl4-openssl-dev zlib-dev + + +