示例#1
0
 def test_run(self):
     """Handle quoted names"""
     header = "7244:002ce8 FBpp0236088 gene=FBgn0208790 orthodb8_OG=EOG8MGTH1 orthodb8_level=32281 organism_name=`Drosophila virilis` uniprot_de=`GJ21671`"
     d = orthodbutil.headerDict(header)
     self.assertTrue(d['organism_name'] == 'Drosophila virilis')
示例#2
0
	def test_run(self):
		"""Handle quoted names"""
		header = "7244:002ce8 FBpp0236088 gene=FBgn0208790 orthodb8_OG=EOG8MGTH1 orthodb8_level=32281 organism_name=`Drosophila virilis` uniprot_de=`GJ21671`"
		d = orthodbutil.headerDict(header)
		self.assertTrue(d['organism_name'] == 'Drosophila virilis')
示例#3
0
 def test_prime(self):
     """Handle prime quote"""
     header = "1111077:0001b9 M1WGG3_CLAP2 gene=M1WGG3 orthodb8_OG=EOG8JHB13 orthodb8_level=4751 organism_name=`Claviceps purpurea 20.1` uniprot_de=`Probable tRNA 2`-O-ribose methyltransferase`"
     d = orthodbutil.headerDict(header)
     self.assertTrue(d['organism_name'] == 'Claviceps purpurea 20.1')
示例#4
0
	def test_prime(self):
		"""Handle prime quote"""
		header = "1111077:0001b9 M1WGG3_CLAP2 gene=M1WGG3 orthodb8_OG=EOG8JHB13 orthodb8_level=4751 organism_name=`Claviceps purpurea 20.1` uniprot_de=`Probable tRNA 2`-O-ribose methyltransferase`"
		d = orthodbutil.headerDict(header)
		self.assertTrue(d['organism_name'] == 'Claviceps purpurea 20.1')