Skip to content

Instantly share code, notes, and snippets.

View haghshenas's full-sized avatar

Ehsan Haghshenas haghshenas

  • Vancouver, Canada
View GitHub Profile
@inutano
inutano / transfer_speed.sh
Created February 3, 2012 01:17
time sequence raw file transfer speed from NCBI, EBI, DDBJ with various transfer protocol.
#!/bin/zsh
#
# time file transfer from NCBI, EBI, and DDBJ with various transfer protocol.
# calc avg time send it to stdout
# usage: transfer_speed.sh <target SRA Run ID>
# requirement: SRA_Accessions.tab from ftp.ncbi.nlm.nih.gov/sra/reports/Metadata
#
###################################################################################
# time format (set as showing total time by second only)