Download Project from Basespace

Quick note on how to download data from Basespace.

For Linux users, you cannot bulk download files using web interface. The alternative is to use BaseSpace Sequence Hub CLI.

First, fetch “bs” application by using:

wget "\$latest/amd64-linux/bs?bt_package=latest" -O bs

Fix permissions:

chmod +X ./bs
chmod 755 ./bs

Then, authenticate at Basespace:

./bs auth

This command will throw a web link for you enter your credentials.

After that, list available projects:

./bs list project

And, Download it 🙂

./bs download project --name FOOBAR -o FOOBAR

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s