def _generate_chunk_output_file(self, i=None): fn = tempfile.NamedTemporaryFile(suffix=".fasta").name write_random_fasta_records(fn, prefix="contig{n}".format(n=random.randint(1,10000))) return fn
def _generate_chunk_output_file(self, i=None): fn = tempfile.NamedTemporaryFile(suffix=".fasta").name write_random_fasta_records( fn, prefix="contig{n}".format(n=random.randint(1, 10000))) return fn
def _generate_chunk_output_file(self, i=None): fn = tempfile.NamedTemporaryFile(suffix=".fasta").name write_random_fasta_records(fn) pysam.samtools.faidx(fn, catch_stdout=False) return self._make_dataset_file(fn)
def _generate_chunk_output_file(self, i=None): fn = tempfile.NamedTemporaryFile(suffix=".fasta").name write_random_fasta_records(fn) pysam.samtools.faidx(fn, catch_stdout=False) return self._make_dataset_file(fn)