Alpha - subject to change. Generator of a FASTA sequence dictionary file.
(
ns
cljam.algo.dict
:require
[
clojure.java.io
:as
cio
]
cljam.io.dict.core
dict-core
cljam.io.fasta.core
fa-core
cljam.io.sequence
cseq
)
Creates a FASTA sequence dictionary file (.dict) from the specified FASTA file. The unfinished file will be deleted when failing.
defn
create-dict
fasta
out-dict
with-open
r
cseq/fasta-reader
dict-core/create-dict
fa-core/read-headers
fa-core/read-sequences
str
..
cio/file
getCanonicalFile
toURI