Skip to content

Commit

Permalink
Update mitohifi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelauliano authored Nov 7, 2023
1 parent 67afec1 commit bfa03c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mitohifi.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,10 @@ def main():
contigs_stats_files = []
for curr_file in os.listdir('.'):
if curr_file.endswith('.individual.stats'):
# skips addition of representative contig, which is the
# same as the final_mitogenome
#if curr_file.split('.individual.stats')[0] != repr_contig_id:
#contigs_stats_files.append(curr_file)
skips addition of representative contig, which is the
same as the final_mitogenome
if curr_file.split('.individual.stats')[0] == repr_contig_id:
contigs_stats_files.append(curr_file)

with open("contigs_stats.tsv", "a") as outfile:
for contig_stats in contigs_stats_files:
Expand Down

0 comments on commit bfa03c4

Please sign in to comment.