# HG changeset patch # User iuc # Date 1568129735 14400 # Node ID f5ea3ce9b9b09c9754c9da9c360845913ab9ea94 # Parent 1790dcf3c32d8cadfd2706b360d9850de6ec21a4 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5" diff -r 1790dcf3c32d -r f5ea3ce9b9b0 fasterq_dump.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fasterq_dump.xml Tue Sep 10 11:35:35 2019 -0400 @@ -0,0 +1,238 @@ + + format from NCBI SRA + + sra_macros.xml + + + fasterq-dump --version + > $log 2>&1 + && + mkdir -p output && + mkdir -p outputOther && + count=`ls *.fastq | wc -l` && + echo "There are \$count fastq" && + data=(\$(ls *.fastq)) && + if [ "\$count" -eq 1 ]; then + gzip -c "\${data[0]}" > output/"\${acc}"__single.fastqsanger.gz && + rm "\${data[0]}"; + elif [ "$adv.split" = "--split-3" ]; then + if [ -e "\${acc}".fastq ]; then + gzip -c "\${acc}".fastq > outputOther/"\${acc}"__single.fastqsanger.gz; + fi && + gzip -c "\${acc}"_1.fastq > output/"\${acc}"_forward.fastqsanger.gz && + gzip -c "\${acc}"_2.fastq > output/"\${acc}"_reverse.fastqsanger.gz && + rm "\${acc}"*.fastq; + elif [ "\$count" -eq 2 ]; then + #if $adv.skip_technical: + gzip -c "\${data[0]}" > output/"\${acc}"_forward.fastqsanger.gz && + gzip -c "\${data[1]}" > output/"\${acc}"_reverse.fastqsanger.gz && + #else + gzip -c "\${data[0]}" > outputOther/"\${data[0]}"sanger.gz && + gzip -c "\${data[1]}" > outputOther/"\${data[1]}"sanger.gz && + #end if + rm "\${data[0]}" && + rm "\${data[1]}"; + else + for file in \${data[*]}; do + gzip -c "\$file" > outputOther/"\$file"sanger.gz && + rm "\$file"; + done; + fi; + #if $input.input_select=="file_list": + ) ; done + + ; + #elif $input.input_select=="accession_number": + ); + #end if + ]]> + + + +
+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff -r 1790dcf3c32d -r f5ea3ce9b9b0 fastq_dump.xml --- a/fastq_dump.xml Tue Dec 04 15:00:55 2018 -0500 +++ b/fastq_dump.xml Tue Sep 10 11:35:35 2019 -0400 @@ -1,4 +1,4 @@ - + format from NCBI SRA sra_macros.xml @@ -70,6 +70,12 @@ #elif str( $outputformat ) == "fastqsanger.bz2": --bzip2 #end if + + #if str($adv.table) != "": + --table $adv.table + #end if + + #if $input.input_select=="file": --stdout "$input.file" > "$output_file" @@ -80,6 +86,7 @@ #end if #if $input.input_select=="file_list": + "\$acc" ) ; done ; @@ -126,6 +133,7 @@ + @@ -226,7 +234,15 @@ - + + + + + + + + + - 2.9.1 + 2.10 grep '^[[:space:]]*[E|S|D]RR[0-9]\{1,\}[[:space:]]*$' @@ -14,7 +14,7 @@ - sra-tools + sra-tools samtools diff -r 1790dcf3c32d -r f5ea3ce9b9b0 sra_pileup.xml --- a/sra_pileup.xml Tue Dec 04 15:00:55 2018 -0500 +++ b/sra_pileup.xml Tue Sep 10 11:35:35 2019 -0400 @@ -1,4 +1,4 @@ - + from NCBI SRA sra_macros.xml diff -r 1790dcf3c32d -r f5ea3ce9b9b0 test-data/ERR086330_1.fastq.gz Binary file test-data/ERR086330_1.fastq.gz has changed diff -r 1790dcf3c32d -r f5ea3ce9b9b0 test-data/ERR086330_2.fastq.gz Binary file test-data/ERR086330_2.fastq.gz has changed diff -r 1790dcf3c32d -r f5ea3ce9b9b0 test-data/SRR002702_1.fastq.gz Binary file test-data/SRR002702_1.fastq.gz has changed diff -r 1790dcf3c32d -r f5ea3ce9b9b0 test-data/SRR002702_2.fastq.gz Binary file test-data/SRR002702_2.fastq.gz has changed diff -r 1790dcf3c32d -r f5ea3ce9b9b0 test-data/SRR522874.fastq.gz Binary file test-data/SRR522874.fastq.gz has changed diff -r 1790dcf3c32d -r f5ea3ce9b9b0 test-data/SRR522874.sra Binary file test-data/SRR522874.sra has changed diff -r 1790dcf3c32d -r f5ea3ce9b9b0 test-data/SRR522874.sra_1.fastq.gz Binary file test-data/SRR522874.sra_1.fastq.gz has changed diff -r 1790dcf3c32d -r f5ea3ce9b9b0 test-data/SRR522874.sra_2.fastq.gz Binary file test-data/SRR522874.sra_2.fastq.gz has changed diff -r 1790dcf3c32d -r f5ea3ce9b9b0 test-data/SRR522874.sra_3.fastq.gz Binary file test-data/SRR522874.sra_3.fastq.gz has changed diff -r 1790dcf3c32d -r f5ea3ce9b9b0 test-data/SRR522874.sra_4.fastq.gz Binary file test-data/SRR522874.sra_4.fastq.gz has changed diff -r 1790dcf3c32d -r f5ea3ce9b9b0 test-data/SRR522874_1.fastq.gz Binary file test-data/SRR522874_1.fastq.gz has changed diff -r 1790dcf3c32d -r f5ea3ce9b9b0 test-data/SRR522874_2.fastq.gz Binary file test-data/SRR522874_2.fastq.gz has changed diff -r 1790dcf3c32d -r f5ea3ce9b9b0 test-data/SRR6982805.fastqsanger.gz Binary file test-data/SRR6982805.fastqsanger.gz has changed diff -r 1790dcf3c32d -r f5ea3ce9b9b0 test-data/list_sra --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/list_sra Tue Sep 10 11:35:35 2019 -0400 @@ -0,0 +1,2 @@ +SRR522874 +SRR002702