# HG changeset patch # User Matt Shirley # Date 1375379847 14400 # Node ID 4da2d7f0128e25a185b4baea4ddc8e8c6882a55c # Parent b5274b0e61bce1df9961ebb3e0cfe8d9377f8485 Exposed more options for fastq_dump and sam_dump diff -r b5274b0e61bc -r 4da2d7f0128e fastq_dump.xml --- a/fastq_dump.xml Sun Jun 30 19:50:44 2013 -0400 +++ b/fastq_dump.xml Thu Aug 01 13:57:27 2013 -0400 @@ -1,5 +1,5 @@ - - format reads from NCBI sra. + + from NCBI SRA. fastq-dump --log-level fatal #if $input.input_select == "file": @@ -7,24 +7,44 @@ #else: --accession $input.accession #end if + --defline-seq '@\$sn[_\$rn]/\$ri' --stdout - $split - $aligned + #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 + --minSpotId $minID #end if #if str( $maxID ) != "": - --minSpotId $maxID + --maxSpotId $maxID #end if #if str( $minlen ) != "": - --minReadLen $minlen + --minReadLen $minlen #end if #if str( $readfilter ) != "": - --read-filter $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: @@ -35,52 +55,67 @@ fastq-dump --version - + - + - + - - - - - - - + + + + + + + - - - - - + + + + + - + + - + + + + + + + + + + + - + + + + + - + sra_toolkit - This tool extracts fastq format reads from sra archives using fastq-dump. + 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. Contact Matt Shirley at mdshw5@gmail.com for support and bug reports. diff -r b5274b0e61bc -r 4da2d7f0128e sam_dump.xml --- a/sam_dump.xml Sun Jun 30 19:50:44 2013 -0400 +++ b/sam_dump.xml Thu Aug 01 13:57:27 2013 -0400 @@ -1,24 +1,67 @@ - - format reads from NCBI sra. - sam-dump $header $aligned $primary '$input' > $output + + 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 $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 $input.input_select == "file": + $input.file + #else: + $input.accession + #end if + > $output + sam-dump --version - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + + - - - - + + + + + @@ -27,8 +70,8 @@ sra_toolkit - This tool extracts sam format reads from sra archives using sam-dump. + This tool extracts reads from sra archives using sam-dump. 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 b5274b0e61bc -r 4da2d7f0128e sra_fetch.xml --- a/sra_fetch.xml Sun Jun 30 19:50:44 2013 -0400 +++ b/sra_fetch.xml Thu Aug 01 13:57:27 2013 -0400 @@ -1,13 +1,13 @@ - - by accession from NCBI sra. + + by accession from NCBI SRA. sra_fetch.py --accession '$accession' --out '$output' - + - This tool fetches sra archives by accession from NCBI over ftp. + This tool fetches sra archives by accession from NCBI over FTP.