Return all transcripts sound in the vcf file

def _add_transcripts(self, variant_obj, info_dict):
        """Return all transcripts sound in the vcf file"""
        vep_string = info_dict.get('CSQ')

        #Check if snpeff annotation:
        snpeff_string = info_dict.get('ANN')
        
        # We check one of these.
        # VEP has presedence over snpeff
        if vep_string:
            #Get the vep annotations
            vep_info = get_vep_info(
                vep_string = vep_string,
                vep_header = self.vep_header
                )
            for transcript_info in vep_info:
                transcript = self._get_vep_transcript(transcript_info)
                variant_obj.add_transcript(transcript)

        elif snpeff_string:
            #Get the vep annotations
            snpeff_info = get_snpeff_info(
                snpeff_string = snpeff_string,
                snpeff_header = self.snpeff_header
                )
            for transcript_info in snpeff_info:
                transcript = self._get_snpeff_transcript(transcript_info)
                variant_obj.add_transcript(transcript)