% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/a3.R
\name{annotation_position}
\alias{annotation_position}
\title{Create position-based annotations for A3}
\usage{
annotation_position(x, type = NULL)
}
\arguments{
\item{x}{Integer vector: Positions of the annotation (1-based indexing).}

\item{type}{Optional character scalar: Annotation type. \code{NULL} is treated as
the empty string in the canonical A3 representation.}
}
\value{
Named list with \code{index} (A3Position) and \code{type} (character)
}
\description{
Creates an annotation spec (named list) with an \code{A3Position} index and optional type,
for use with \code{create_A3()}.
}
\examples{
# Create a site annotation for positions 5 and 17, of type "active site"
annotation_position(c(5L, 17L), type = "active site")
}
\author{
EDG
}
