Skip to content

Commit

Permalink
missing get_anno_db fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
manulera committed Aug 30, 2023
1 parent e8081e2 commit 75d76e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protein_modification_transvar.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def main(genome_file, protein_modification_results_file, exclude_transcripts_fil
# Apply transvar syntax to each sequence position
data_exploded['transvar_input'] = data_exploded.apply(format_for_transvar, axis=1, args=(genome,))

anno_db = get_anno_db()
anno_db = get_anno_db('data/pombe_genome.gtf.transvardb', 'data/pombe_genome.fa')
print('Running transvar on protein modifications... (will take a while)')
data_exploded['transvar_coordinates'] = data_exploded.progress_apply(get_transvar_coordinates, args=(anno_db, genome, exclude_transcripts), axis=1)

Expand Down

0 comments on commit 75d76e4

Please sign in to comment.