Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

From a Mac Terminal, use the ssh command, inserting your eCommons HMS ID instead of user123:

Code Block
languagetext
ssh user123@o2.hms.harvard.edu

...

Code Block
languagetext
ssh transfer

# Make a scratch3 directory for aspera
# This assumes you have a scratch directory already
# "{USER:0:1}" will be replaced by the first letter of your eCommonsHMS ID
# $USER will be replaced by your eCommonsHMS ID
mkdir /n/scratch3/users/${USER:0:1}/$USER/testAspera 

# change to the test directory for aspera 
cd /n/scratch3/users/${USER:0:1}/$USER/testAspera 

...

Code Block
languagetext
ascp -i /opt/aspera/etc/asperaweb_id_dsa.openssh ...

# for example: 
ascp -i /opt/aspera/etc/asperaweb_id_dsa.openssh -QT -l 300m -P33001 era-fasp@fasp.sra.ebi.ac.uk:vol1/fastq/SRR136/029/SRR13673729/SRR13673729_2.fastq.gz .


Additional tips: 

  1. If you need download a lot of data, run the screen command before ssh to transfer cluster, to keep the session alive.

  2. If you have more than a dozen samples to download, running downloads one by one requires a lot of time. You can run them in parallel instead. For example you can submit 5 jobs, but let each job download 100 samples. If you try this method, please share your experience with us. We are always happy to hear feedback and to modify our documentation and recommendations accordingly!

  3. Contact us to let us know if you have any questions.