Last active
February 7, 2019 14:58
-
-
Save Tabea-K/494c368a6c15e54efb1fc0099704a1ec to your computer and use it in GitHub Desktop.
To download the latest refGene info file from the UCSC via command line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CURRDATE=`date +%Y-%m-%d` | |
ASSEMBLY=hg38 | |
mysql --user=genome --host=genome-mysql.cse.ucsc.edu -A -D "${ASSEMBLY}" -e "select * \ | |
from refGene" > "${CURRDATE}_${ASSEMBLY}_refGene.txt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment