comparison data_manager/data_manager_fetch_motifs.py @ 9:e4229c66d78d draft

Uploaded
author jeremyjliu
date Sun, 01 Feb 2015 15:37:11 -0500
parents b4c2836d2e4e
children a5421f83f972
comparison
equal deleted inserted replaced
8:b4c2836d2e4e 9:e4229c66d78d
22 22
23 def download_motif_databases( data_manager_dict, params, target_directory, motif_db ): 23 def download_motif_databases( data_manager_dict, params, target_directory, motif_db ):
24 24
25 # Select download URL, file name, data table name, and path using motif_db selector variable 25 # Select download URL, file name, data table name, and path using motif_db selector variable
26 if motif_db == "pouya": 26 if motif_db == "pouya":
27 BGZ = ['http://compbio.med.harvard.edu/motif-enrichment/pouya_motifs_bed.bgz', 27 BGZ = ['http://compbio.med.harvard.edu/motif-enrichment/pouya_motifs.bed.bgz',
28 "pouya_motifs.bed.bgz", "pouya_bgz", "Pouya Encode Motifs (hg19) BGZ"] 28 "pouya_motifs.bed.bgz", "pouya_bgz", "Pouya Encode Motifs (hg19) BGZ"]
29 TBI = ['http://compbio.med.harvard.edu/motif-enrichment/pouya_motifs_bed.bgz.tbi', 29 TBI = ['http://compbio.med.harvard.edu/motif-enrichment/pouya_motifs.bed.bgz.tbi',
30 "pouya_motifs.bed.bgz.tbi", "pouya_tbi", "Pouya Encode Motifs (hg19) TBI"] 30 "pouya_motifs.bed.bgz.tbi", "pouya_tbi", "Pouya Encode Motifs (hg19) TBI"]
31 elif motif_db == "jaspar": 31 elif motif_db == "jaspar":
32 BGZ = ['http://compbio.med.harvard.edu/motif-enrichment/jaspar_jolma_motifs.bed.bgz', 32 BGZ = ['http://compbio.med.harvard.edu/motif-enrichment/jaspar_jolma_motifs.bed.bgz',
33 "jaspar_jolma_motifs.bed.bgz", "jaspar_bgz", "Jaspar and Jolma Motifs (hg19) BGZ"] 33 "jaspar_jolma_motifs.bed.bgz", "jaspar_bgz", "Jaspar and Jolma Motifs (hg19) BGZ"]
34 TBI = ['http://compbio.med.harvard.edu/motif-enrichment/jaspar_jolma_motifs.bed.bgz.tbi', 34 TBI = ['http://compbio.med.harvard.edu/motif-enrichment/jaspar_jolma_motifs.bed.bgz.tbi',