is_protein_name_line: Is the line of text the name of a protein, as used within a...

View source: R/is_protein_name_line.R

is_protein_name_lineR Documentation

Is the line of text the name of a protein, as used within a FASTA filename?

Description

Is the line of text the name of a protein, as used within a FASTA filename?

Usage

is_protein_name_line(line)

Arguments

line

line of text from a FASTA filename

Examples

# A valid protein name line
is_protein_name_line(">5H2A_CRIGR")

# An invalid protein name line:
# need the '>' before the protein name
is_protein_name_line("5H2A_CRIGR")

# An invalid protein name line
is_protein_name_line("nonsense")

richelbilderbeek/tmhmm documentation built on Sept. 3, 2022, 5:14 p.m.