annotate seg2matrix/getRefGene_hg18.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/hg18/database/refGene.txt.gz
ab20c0d04f4a add seg2matrix tool
jingchunzhu
parents:
diff changeset
4 gunzip -c refGene.txt.gz > refGene_hg18
ab20c0d04f4a add seg2matrix tool
jingchunzhu
parents:
diff changeset
5 echo '{ "cgdata" : {"name" : "refGene_hg18", "type" : "genePred", "assembly" : "hg18"} }' > refGene_hg18.json