find_seq {BALCONY}R Documentation

Find sequence by id in alignment.

Description

This function allows to search for a sequence with its id. Useful for browsing a larg multiple sequence alignment data or for automatization purposes.

Usage

find_seq(sequence_id, alignment)

Arguments

sequence_id

identifier of desired sequence from alignment

alignment

alignment file loaded with read.alignment

Value

sequence

A string, the desired aligned sequence form alignment

Author(s)

Alicja Pluciennik & Michal Stolarczyk

Examples

data("alignment")
#creating library uniprot - PDB
lib=list(  c("Q84HB8","4I19","4QA9"),
  c("P34913","4JNC"),
  c("P34914","1EK2","1CR6","1EK1","1CQZ"))
sequence_id=find_seqid("1CQZ",lib)
sequence=find_seq(sequence_id, alignment)


[Package BALCONY version 0.2.10 Index]