validateFasta(this.fileData, (BaseFlag, ProteinFlag) => {
if (BaseFlag && ProteinFlag) {
this.showModal = true
this.Modalmessage = 'error fasta file'
this.ModalFontColor = { color: '#d63031' }
this.Modalicon = 'el-icon-check'
setTimeout(() => { this.showModal = false }, 1000)
} else if (!BaseFlag) {
this.showModal = true
this.Modalmessage = 'Nucleic acid sequence file'
this.ModalFontColor = { color: '#4cd137' }
this.Modalicon = 'el-icon-close'
setTimeout(() => { this.showModal = false }, 1000)
} else if (!ProteinFlag) {
this.showModal = true
this.Modalmessage = 'Protein sequence file'
this.ModalFontColor = { color: '#4cd137' }
this.Modalicon = 'el-icon-close'
setTimeout(() => { this.showModal = false }, 1000)
}
})