Learn R Programming

tmhmm (version 1.3)

is_protein_name_line: 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

Run this code
# NOT RUN {
# 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")
# }

Run the code above in your browser using DataLab