comparison get_edge_data.py @ 5:407b894abb08 draft

Uploaded
author crs4
date Thu, 03 Nov 2016 10:56:44 -0400
parents f77ce4f92b46
children
comparison
equal deleted inserted replaced
4:d5464c9e1723 5:407b894abb08
11 self.fnafile = fnafile 11 self.fnafile = fnafile
12 self.pttfile = pttfile 12 self.pttfile = pttfile
13 self.rntfile = rntfile 13 self.rntfile = rntfile
14 self.gfffile = gfffile 14 self.gfffile = gfffile
15 self.ftpurl = 'ftp.ncbi.nlm.nih.gov' 15 self.ftpurl = 'ftp.ncbi.nlm.nih.gov'
16 self.folder = '/genomes/Bacteria/' 16 #self.folder = '/genomes/Bacteria/'
17 self.folder = '/genomes/archive/old_refseq/Bacteria/'
17 strainName = self._getStrainName() 18 strainName = self._getStrainName()
18 print strainName 19 print strainName
19 if not strainName: 20 if not strainName:
20 sys.exit("Unrecognized RefSeq Genomic Accession ID") 21 sys.exit("Unrecognized RefSeq Genomic Accession ID")
21 ftp = FTP(self.ftpurl) 22 ftp = FTP(self.ftpurl)