We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbeff01 commit c926f11Copy full SHA for c926f11
pythomics/parsers/fasta.py
@@ -204,9 +204,8 @@ def _build_index(self):
204
205
def build_fasta_index(self):
206
try:
207
- subprocess.check_output(["samtools", "-v"])
+ subprocess.check_output(["samtools", "faidx", self.filename])
208
except OSError:
209
self.fasta_index = self._build_index()
210
else:
211
- subprocess.check_output(["samtools", "faidx", self.filename])
212
self.fasta_index = "{}.fai".format(self.filename)
0 commit comments