# HG changeset patch # User iuc # Date 1584722212 0 # Node ID 54366e4d692a30764fb06ee2e812f1ac2c345b33 # Parent 5c5d6624f8de1568ab911633dee7b47cc3ab50c8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 2be63abd7e4db27fa32ecbbc10d48cacb0073115" diff -r 5c5d6624f8de -r 54366e4d692a fasterq_dump.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fasterq_dump.xml Fri Mar 20 16:36:52 2020 +0000 @@ -0,0 +1,237 @@ + + 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 5c5d6624f8de -r 54366e4d692a fastq_dump.xml --- a/fastq_dump.xml Tue Dec 04 15:00:32 2018 -0500 +++ b/fastq_dump.xml Fri Mar 20 16:36:52 2020 +0000 @@ -1,4 +1,4 @@ - + format from NCBI SRA sra_macros.xml @@ -6,14 +6,12 @@ fastq-dump --version "$output_file" @@ -80,6 +82,7 @@ #end if #if $input.input_select=="file_list": + "\$acc" ) ; done ; @@ -126,6 +129,7 @@ + @@ -226,7 +230,15 @@ - + + + + + + + + + + format from NCBI SRA sra_macros.xml - + + samtools + sam-dump --version - 2.9.1 + 2.10.4 grep '^[[:space:]]*[E|S|D]RR[0-9]\{1,\}[[:space:]]*$' + - sra-tools - samtools + sra-tools + diff -r 5c5d6624f8de -r 54366e4d692a sra_pileup.xml --- a/sra_pileup.xml Tue Dec 04 15:00:32 2018 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,99 +0,0 @@ - - from NCBI SRA - - sra_macros.xml - - - sra-pileup --version - - "$output_file" - #elif $input.input_select == "accession_number": - "\$acc" > "$output_accession" - #elif $input.input_select == "text": - `@ACCESSIONS_FROM_FILE@ '$input.text'` > "$output_text" - #end if - ]]> - - - - - - - - - - - - - - - - - - - - -
- - -
-
- - - input['input_select'] == "accession_number" - - - input['input_select'] == "file" - - - input['input_select'] == "text" - - - - - - - - - - - - - - -
diff -r 5c5d6624f8de -r 54366e4d692a test-data/ERR086330_1.fastq.gz Binary file test-data/ERR086330_1.fastq.gz has changed diff -r 5c5d6624f8de -r 54366e4d692a test-data/ERR086330_2.fastq.gz Binary file test-data/ERR086330_2.fastq.gz has changed diff -r 5c5d6624f8de -r 54366e4d692a test-data/SRR002702_1.fastq.gz Binary file test-data/SRR002702_1.fastq.gz has changed diff -r 5c5d6624f8de -r 54366e4d692a test-data/SRR002702_2.fastq.gz Binary file test-data/SRR002702_2.fastq.gz has changed diff -r 5c5d6624f8de -r 54366e4d692a test-data/SRR522874.fastq.gz Binary file test-data/SRR522874.fastq.gz has changed diff -r 5c5d6624f8de -r 54366e4d692a test-data/SRR522874.sra Binary file test-data/SRR522874.sra has changed diff -r 5c5d6624f8de -r 54366e4d692a test-data/SRR522874.sra_1.fastq.gz Binary file test-data/SRR522874.sra_1.fastq.gz has changed diff -r 5c5d6624f8de -r 54366e4d692a test-data/SRR522874.sra_2.fastq.gz Binary file test-data/SRR522874.sra_2.fastq.gz has changed diff -r 5c5d6624f8de -r 54366e4d692a test-data/SRR522874.sra_3.fastq.gz Binary file test-data/SRR522874.sra_3.fastq.gz has changed diff -r 5c5d6624f8de -r 54366e4d692a test-data/SRR522874.sra_4.fastq.gz Binary file test-data/SRR522874.sra_4.fastq.gz has changed diff -r 5c5d6624f8de -r 54366e4d692a test-data/SRR522874_1.fastq.gz Binary file test-data/SRR522874_1.fastq.gz has changed diff -r 5c5d6624f8de -r 54366e4d692a test-data/SRR522874_2.fastq.gz Binary file test-data/SRR522874_2.fastq.gz has changed diff -r 5c5d6624f8de -r 54366e4d692a test-data/SRR6982805.fastqsanger.gz Binary file test-data/SRR6982805.fastqsanger.gz has changed diff -r 5c5d6624f8de -r 54366e4d692a test-data/list_sra --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/list_sra Fri Mar 20 16:36:52 2020 +0000 @@ -0,0 +1,2 @@ +SRR522874 +SRR002702