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 modelsequence data can also be modeled in the seqfeature_db module - see feature_residues/2however, the seqfeature_db module may be overkill for some applications where it is desirable to have a simple fasta style ID-header-sequence modelin 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
Metadata
Source
View source: fasta_db.pro
(
plaintext
)