예제 #1
0
 def test_gff_sizes(self):
     with tempfile.TemporaryDirectory() as tmpdirname:
         gff_sizes = os.path.join(self.data_dir, 'sizes.gff3')
         prepare_refseqs.format_sequences(gff_sizes=[gff_sizes],
                                          out=tmpdirname)
예제 #2
0
 def test_twobit(self):
     with tempfile.TemporaryDirectory() as tmpdirname:
         twobit = os.path.join(self.data_dir, 'a.2bit')
         prepare_refseqs.format_sequences(twobit=twobit, out=tmpdirname)
예제 #3
0
 def test_fastas(self):
     with tempfile.TemporaryDirectory() as tmpdirname:
         fastas = [
             os.path.join(self.data_dir, fa) for fa in ('a.fa', 'b.fa')
         ]
         prepare_refseqs.format_sequences(fastas=fastas, out=tmpdirname)
예제 #4
0
 def test_indexed_fasta(self):
     with tempfile.TemporaryDirectory() as tmpdirname:
         fasta = os.path.join(self.data_dir, 'a.fa')
         prepare_refseqs.format_sequences(indexed_fasta=fasta,
                                          out=tmpdirname)
예제 #5
0
 def test_gff(self):
     with tempfile.TemporaryDirectory() as tmpdirname:
         gff = os.path.join(self.data_dir, 'embed_fasta.gff3')
         prepare_refseqs.format_sequences(gff=gff, out=tmpdirname)