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

Description Usage Arguments Examples

View source: R/is_protein_name_line.R

Description

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

Usage

1

Arguments

line

line of text from a FASTA filename

Examples

1
2
3
4
5
6
7
8
9
# 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")

tmhmm documentation built on Nov. 18, 2020, 9:07 a.m.