Hello,
I am trying to run a BRIG analysis for a number of specific bacteriophage genes. I have all the amino acid sequences I need, I just need to put them into a genebank file so the BRIG program can read them.
Thank you for your help, -Connor DeJager
Why not just download the genbank of the bacteriophage from NCBI?
BRIG lets you have multiple feature tracks so you can just pass it a file of annotations I believe.
Alternatively, I wrote a script to do pretty much exactly this - extract a genbank for a given sequence or coordinate: https://github.com/MicroInfect/bioinfx/blob/master/Genbank_slicer.py
(This is really for nucleic acid as I intended it to be used for slicing operons out of genomes) it could be repurposed easily enough though
Basically, given a genbank record, BioPythons SeqIO has [start:end] notation you can use to subset a genbank and get all the features in bewteen in the process.