Exemplo n.º 1
0
 def test_extract_reference_name_from_ref_path4(self):
     ref_path = '/lustre/scratch110/srpipe/references/Homo_sapiens/GRCh37_53/all/bwa/Homo_sapiens.GRCh37.dna.all.fa'
     result = IrodsSeqFileMetadata.extract_reference_name_from_ref_path(ref_path)
     self.assertEqual(result, 'Homo_sapiens.GRCh37.dna.all')
Exemplo n.º 2
0
 def test_extract_reference_name_from_ref_path2(self):
     ref_path = '/lustre/scratch110/srpipe/references/Homo_sapiens/1000Genomes/all/bwa/human_g1k_v37.fasta'
     result = IrodsSeqFileMetadata.extract_reference_name_from_ref_path(ref_path)
     self.assertEqual(result, 'human_g1k_v37')
Exemplo n.º 3
0
 def test_extract_reference_name_from_ref_path3(self):
     ref_path = '/lustre/scratch109/srpipe/references/Homo_sapiens/GRCh38_15/all/bwa0_6/Homo_sapiens.GRCh38_15.fa'
     result = IrodsSeqFileMetadata.extract_reference_name_from_ref_path(ref_path)
     self.assertEqual(result, 'Homo_sapiens.GRCh38_15')
Exemplo n.º 4
0
 def test_extract_reference_name_from_ref_path1(self):
     ref_path = '/lustre/scratch109/srpipe/references/Homo_sapiens/1000Genomes_hs37d5/all/bwa/hs37d5.fa'
     result = IrodsSeqFileMetadata.extract_reference_name_from_ref_path(ref_path)
     self.assertEqual(result, 'hs37d5')