is_topology_line {pureseqtmr}R Documentation

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

Description

Is the line of text the topology, as used within a FASTA filename? In this context, a topology is a string of zeroes and ones, in which a one denotes that that amino acid is within the membrane.

Usage

is_topology_line(line)

Arguments

line

line of text from a FASTA filename

Value

TRUE if the line can be the text of a topology in a FASTA file.

Author(s)

Richèl J.C. Bilderbeek

Examples

# This is a valid topology
is_topology_line("000010101011")

# This is an invalid topology
is_topology_line("invalid")

[Package pureseqtmr version 1.4 Index]