Index

Name

Synopsis

Description

Predicates

fastaseq/3

Metadata

Source

Name

fasta_db - prolog schema for fasta format

Synopsis

  :- use_module(bio(fasta_db)).
  :- use_module(bio(io)).

  demo:-
    load_biofile(fasta,'utr.fasta'),
    forall( (fastaseq(ID,_,Seq),sub_atom(Seq,Pos,_,_,'CGCATATC')),
            format('Subseq in ~w at ~w~n',[ID,Pos])).
  

Description

fasta sequence model

sequence data can also be modeled in the seqfeature_db module - see feature_residues/2

however, the seqfeature_db module may be overkill for some applications where it is desirable to have a simple fasta style ID-header-sequence model

in addition, the seqfeature_db model requires a feature type for each feature, which is not stored in a standard way in the fasta model

Predicates

fastaseq/3

modes

fastaseq(?ID,?Header,?Seq)
intensional data predicate (fact)

Metadata

version: 1.1
date: 2005/10/14 20:16:57
author: Chris Mungall
license: LGPL

Source

View source: fasta_db.pro ( plaintext )