Skip to content

This is a set of bash wrapper scripts for STAR that simplify it's setup and use with a set of pre-defined parameters.

License

Notifications You must be signed in to change notification settings

carlescn/scRNAseq-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

scRNAseq-tools

GPLv3 license made-with-bash-5.1 Linux STAR-2.7.9a

STARsolo scripts

This is a set of bash scripts I wrote as a wrapper for STARsolo to simplify it's setup and for running it with a set of parameters which try to replicate the output of 10x Genomics Cell Ranger.

The scripts are located under the directory ./bin/starsolo (see documentation):

  • starsolo-setup-linux-x86_64.sh: downloads the STAR executable and the whitelists from 10xGenomics.
  • starsolo-gen-idx-danio-rerio.sh: downloads the reference genome GRCz11 for the sp. Danio_rerio from ENSEMBL and generates the STAR genome index.
  • run-starsolo.sh: runs the STARsolo algorithm with some preset parameters.

SRA scripts

Because I needed some experiment data to test the STARsolo scripts, I also wrote a couple of scripts to obtain FASTQ files from the SRA repository.

These download the raw data files from the SRA repository and extract the original FASTQ files using the fastq-dump tool from SRA-toolkit. The obtained FASTQ files should be equivalent to the output of cellranger count.

The scripts are located under the directory ./bin/sra (see documentation):

  • get-fastq-dump.sh: downloads the tool fastq-dump from the SRA-toolkit.
  • sra-to-cellranger-count.sh: downloads the raw data from the SRA repositories for the given ID(s) and extracts the original FASTQ files.

Workflow example

Finally, I provide a workflow example (workflow_example.sh) that uses all these scripts to:

  1. Download and setup all the tools.
  2. Download some example data from the SRA repositories.
  3. Run STARsolo to obtain a cell-feature count matrix.

About

This is a set of bash wrapper scripts for STAR that simplify it's setup and use with a set of pre-defined parameters.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages