Skip to content

Get reference genomes from UCSC and prepare them for use by IGV.js

License

Notifications You must be signed in to change notification settings

refinery-platform/get-reference-genomes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-reference-genomes

Gets reference genomes from UCSC and prepares them for use by IGV.js.

Here's a list and demonstration of the currently available reference genomes.

Setup

Install pip dependencies, and make sure twoBitToFa and bedToBigBed are on your PATH:

pip install -r requirements.txt
wget http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/twoBitToFa && chmod a+x twoBitToFa
wget http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/bedToBigBed && chmod a+x bedToBigBed

Usage

./tools/genome-to-local.sh GENOME1 [ GENOME2 ... ]
# or, if you have AWS credentials in place:
./tools/genome-to-s3.sh GENOME1 [ GENOME2 ... ]

Development

Run tests/test.sh to confirm that the scripts perform the expected transformations.

About

Get reference genomes from UCSC and prepare them for use by IGV.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published