file_contains_aa.Rd
Check whether input file contains amino acids as required.
file_contains_aa(file, input_type)
file path to fasta
file.
a character string specifying whether input file a "query"
or "subject"
file.
When a file contains the correct sequence type then this function will only execute without any output. In case a file does not contains the correct sequence type then an error is thrown.
# test an aa file
file_contains_aa(file = system.file('seqs/qry_aa.fa', package = 'metablastr'), input_type = "query")