Skip to content

Commit

Permalink
Fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ozagord committed Nov 7, 2013
1 parent 238fb73 commit 3b80333
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions amplian.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ def highest_entropy(bam_file, fasta_file):
# Build the mpileup and compute the entropy per position
ref_seq = list(SeqIO.parse(fasta_file, 'fasta'))[0]
entropy = [None] * (len(ref_seq) + 1)
#run_child('samtools', 'mpileup -f %s -d %d %s > sample.mpu' %
# (fasta_file, cutoff_depth, bam_file))
run_child('samtools', 'mpileup -f %s -d %d %s > sample.mpu' %
(fasta_file, cutoff_depth, bam_file))
for l in open('sample.mpu'):
pos, refbase, depth = int(l.split()[1]), l.split()[2], \
int(l.split()[3])
Expand Down

0 comments on commit 3b80333

Please sign in to comment.