Function for getting the sequence of a transcript from an indexed Fa file