annotate seg2matrix/getRefGene_hg19.sh @ 37:e81019e3ac99

Updated synapseGetDataset to look at the filename rather than the (no longer existant) content type field to determine if the data is in zip format
author melissacline
date Mon, 27 Jul 2015 16:29:24 -0700
parents ab20c0d04f4a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31
ab20c0d04f4a add seg2matrix tool
jingchunzhu
parents:
diff changeset
1 #!/bin/bash
ab20c0d04f4a add seg2matrix tool
jingchunzhu
parents:
diff changeset
2
ab20c0d04f4a add seg2matrix tool
jingchunzhu
parents:
diff changeset
3 curl -O http://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/refGene.txt.gz
ab20c0d04f4a add seg2matrix tool
jingchunzhu
parents:
diff changeset
4 gunzip -c refGene.txt.gz > refGene_hg19
ab20c0d04f4a add seg2matrix tool
jingchunzhu
parents:
diff changeset
5 echo '{ "name" : "refGene_hg19", "type" : "genePredExt", "assembly" : "hg19", "url":"http://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/refGene.txt.gz"}' > refGene_hg19.json