sc2-sequencing/clearlabs
2021-03-31 11:21:41 -06:00
..
convert-fastas.sh Reorganize folder structure 2021-03-23 11:20:19 -06:00
README.md Update README.md 2021-03-31 11:21:41 -06:00

ClearLabs

This script converts the FASTA tarball that is downloaded through the ClearLabs web portal into individual and a collective FASTA file using Cygwin.

Usage

To be run in Cygwin

$ convert-fastas.sh TARBALL

Installation

This script requires Cygwin.

  1. Download and install Cygwin
    1. Select "Just Me" when asked who to install for
    2. Find and add the latest version of the "git" package when prompted
    3. All other default options will work
  2. Open the Cygwin console and use the following commands
$ git clone https://github.com/MillironX/wphl-bioinformatics.git
$ cp wphl-bioinformatics/clearlabs/convert-fastas.sh ~
$ chmod +x convert-fastas.sh
  1. Press the Win+R on the keyboard
  2. Type shell:sendto and press Enter
  3. Right-click in the newly opened window, and click "New | Shortcut..."
  4. Type C:\cygwin64\bin\bash.exe and click Next
  5. Type Convert FASTA Tarball or something else memorable and click Finish
  6. Right-click the newly created shortcut and click Properties
  7. In the Target textbox, add --login convert-fastas.sh (including the space) to the existing text
  8. Click OK

An item will now be added to the Right click | Send to menu for FASTA tarballs. Once clicked, the extracted tarballs can be found in C:\cygwin64\home\<USERNAME>.