I have done genome guided assembly using StringTie. In the output fasta header contain: Isoform name and then gene name.
I want extract longest sequence based on gene name.
fasta file header:
Both isoforms belongs to same gene STRG3.
I want to extract the longest isofrom.