comparison tests/test_ribocount.py @ 14:628f82e72d72

Version as released on PyPI 0.1.0
author Vimalkumar Velayudhan <vimal@biotechcoder.com>
date Wed, 26 Aug 2015 16:37:10 +0100
parents 61c47a1d6a7a
children
comparison
equal deleted inserted replaced
13:8a87a2c44d09 14:628f82e72d72
6 6
7 # use testing configuration 7 # use testing configuration
8 CONFIG = ribocount.CONFIG = riboplot.config.TestingConfig() 8 CONFIG = ribocount.CONFIG = riboplot.config.TestingConfig()
9 logging.disable(logging.CRITICAL) 9 logging.disable(logging.CRITICAL)
10 10
11 RIBO_FILE = os.path.join(CONFIG.DATA_DIR, '5hRPFsorted.bam') 11 RIBO_FILE = os.path.join(CONFIG.TEST_DATA_DIR, '5hRPFsorted.bam')
12 RNA_FILE = os.path.join(CONFIG.DATA_DIR, '5hmRNAsorted.bam') 12 RNA_FILE = os.path.join(CONFIG.TEST_DATA_DIR, '5hmRNAsorted.bam')
13 TRANSCRIPT_NAME = 'gi|148357119|ref|NM_001098396.1|' 13 TRANSCRIPT_NAME = 'gi|148357119|ref|NM_001098396.1|'
14 TRANSCRIPTOME_FASTA = os.path.join(CONFIG.DATA_DIR, 'zebrafish.fna') 14 TRANSCRIPTOME_FASTA = os.path.join(CONFIG.TEST_DATA_DIR, 'zebrafish.fna')
15 TRANSCRIPTOME_FASTA_MINUS1 = os.path.join(CONFIG.DATA_DIR, 'zebrafish_minus1.fna') 15 TRANSCRIPTOME_FASTA_MINUS1 = os.path.join(CONFIG.TEST_DATA_DIR, 'zebrafish_minus1.fna')
16 UNRELATED_FASTA = os.path.join(CONFIG.DATA_DIR, 'unrelated.fna') 16 UNRELATED_FASTA = os.path.join(CONFIG.TEST_DATA_DIR, 'unrelated.fna')
17 17
18 18
19 class RiboCountTestCase(unittest.TestCase): 19 class RiboCountTestCase(unittest.TestCase):
20 20
21 def test_unrelated_fasta_file(self): 21 def test_unrelated_fasta_file(self):