Skip to content

Commit

Permalink
Update make_resistance_genes_bed.py
Browse files Browse the repository at this point in the history
  • Loading branch information
taranewman authored Oct 25, 2024
1 parent 11811ea commit 5e12b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/make_resistance_genes_bed.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def get_gene_info_from_tbdb(tbdb_bed: Path, tbdb_gff: Path) -> list:
for line in f:
line_split = line.strip().split('\t')
res_gene_name = line_split[4]
start_pos = int(line_split[1]) - 1 #tbdb.bed 1 indexed, subtract 1 for 0 based index
start_pos = int(line_split[1]) - 1
end_pos = int(line_split[2])
drug_resistance = line_split[5]
if res_gene_name == 'Rv0678':
Expand Down

0 comments on commit 5e12b89

Please sign in to comment.