>>> from pyfastx import FastX, FastXIter
>>> fa = FastXIter('pyfastx/test/data/key.fasta')
>>> for record in fa:
... record.name, record.seq, record.qual
('a extra', 'AAaa', None)
('b extra', 'AAbb', None)
('c extra', 'AAcc', None)
>>> fa = FastX('pyfastx/test/data/key.fasta')
>>> list(fa)
[BROKEN]
# or a dictionary.
#>>> header = fxz.iterkeys().next()
#>>> print fxz[header]
<SequenceRecord>
-
Notifications
You must be signed in to change notification settings - Fork 0
brentp/pyfastx
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
unified access to fasta, fastx using kseq.h + ??
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published