fasta_file <- system.file(package = "tidysq", "examples/example_aa.fasta")
# In this case, these two calls are equivalent in result:
read_fasta(fasta_file)
read_fasta(fasta_file, alphabet = "ami_bsc")
if (FALSE) {
# It's possible to read FASTA file from URL:
read_fasta("https://www.uniprot.org/uniprot/P28307.fasta")
}
Run the code above in your browser using DataLab