.. | ||
src | ||
dl-fastqs.sh | ||
Project.toml | ||
README.md | ||
sort-miseq.jl | ||
sort-nextseq.jl |
Illumina
This script downloads all FASTQs associated with a specific Run ID from Illumina's Basespace.
Usage
To be run in Cygwin
dl-fastqs.sh
The script will prompt for a Run ID. Copy the Run ID from the URL in Illumina Basespace.
Note that Ctrl+V does not paste in either Cygwin or Windows terminals. Use right-click, instead.
Installation
This script requires Cygwin. The install process is complicated thanks to requiring native features of both Windows and Cygwin.
-
Download and install Cygwin
- Select "Just Me" when asked who to install for
- Find and add the latest version of the "git" packages
- All other default options will work
-
Press
Win+X
, thenI
to open a new PowerShell window -
Run
wget 'https://api.bintray.com/content/basespace/BaseSpaceCLI-EarlyAccess-BIN/latest/\$latest/amd64-windows/bs.exe?bt_package=latest' -O $env:LOCALAPPDATA\Microsoft\WindowsApps\bs.exe
-
Close PowerShell
-
Open Cygwin Console and run
BS=$(cygpath "C:\Users\\$USER\AppData\Local\Microsoft\WindowsApps\bs.exe") $BS auth
-
Copy the given link, navigate to it in a browser, and login to Illumina Basespace
-
In Cygwin console now run
git clone https://github.com/MillironX/wphl-bioinformatics.git cp wphl-bioinformatics/illumina/dl-fastqs.sh ~ chmod +x dl-fastqs.sh
-
Right-click the Windows desktop, and click "New | Shortcut..."
-
Type
C:\cygwin64\bin\bash.exe
and click Next -
Type
Download Illumina Run
or something else memorable and click "Finish" -
Right-click the newly created shortcut and click Properties
-
In the Target textbox, add a space and
--login dl-fastqs.sh
to the existing text -
Click OK