InSilicoSpectro::Databanks::DBEntryUniprot - Uniprot formated entry


InSilicoSpectro-Databanks documentation  | view source Contained in the InSilicoSpectro-Databanks distribution.

Index


NAME

Top

InSilicoSpectro::Databanks::DBEntryUniprot - Uniprot formated entry

SYNOPSIS

Top

DESCRIPTION

Top

Inherit from DBEntry, but can parse a uniprot format

FUNCTIONS

Top

useInSilicoSpectro()

determine if InSilicoSpectro lib is used in the current environment. The main difference will be the tracnslation from uniprot MOD_RES nomenclature to InSilciSpectro one

METHODS

Top

my $dbu=InSilicoSpectro::Databanks::DBEntryUniprot;

Accessors/Setters

$dbu->chains()

get a ref to an array of arrays for chain delimiter [from, to]

$dbu->add_chain([$from, $to])

set chain (through a reference a to an array)

$dbu->clear_chains()

Reset the chain arrays

$dbu->signals(); $dbu->add_signal([$from, $to]); $dbu->clear_signals()

Idem than for the *chain subs

Derived sequence generation

$dbu->generateIsoforms(shortName)

returns an array of InSilicoSpectro::Databanks::DBEntry containing all the isoforms generated by a swissprot entry

$dbu->generateChains(shortName)

Retuns an array of InSilicoSpectro::Databanks::DBEntry containing entries from FT CHAIN lines

$dbu->generatePeptides(shortName)

Retuns an array of InSilicoSpectro::Databanks::DBEntry containing entries from FT PEPTIDE lines

$dbu->generateDerivedForms([skipIsoforms=>1][, skipChains=>1][, skipPeptides=>1][, shortName=>1])

Retuns an array of InSilicoSpectro::Databanks::DBEntry containing entries from the concatenation of the above methods

skip* argument will skip the creaion of the mentionned form

$dbu->seqSubstr(from=>int, to=>int [, subseq=>AAstring]);

$dbu->seqSubstr(pos=>int, len=>int [, subseq=>AAstring]);

Replace a piece of the sequence by a a subseq (or remove it if sebseq is unfdefined). All annotation will be updated (or remove if they inerfer with the substitued sequence.

from=>int notation starts sequence at position 1;

pos=>int notation starts sequence at position 0;

$dbu->seqExtract(from=>int, to=>int);

$dbu->seqExtract(pos=>int, len=>int);

Keep only the sub sequence described par the given delimiters (see seqSubstr(...) for description)

I/O

$dbe->readDat($fastacontent);

read info from fasta contents (fitrs line with '>' and info + remaining is sequence.

EXAMPLES

Top

EXPORT

Top

$VERBOSE

verbose level

SEE ALSO

Top

COPYRIGHT

Top

AUTHORS

Top

Alexandre Masselot, www.genebio.com


InSilicoSpectro-Databanks documentation  | view source Contained in the InSilicoSpectro-Databanks distribution.