I/O utilities.
I/O utilities.
(alignment-reader? rdr)
Checks if given object implements protocol IAlignmentReader.
Checks if given object implements protocol IAlignmentReader.
(alignment-writer? wtr)
Checks if given object implements protocol IAlignmentWriter.
Checks if given object implements protocol IAlignmentWriter.
(bam-reader? rdr)
Checks if given object is an instance of BAMReader.
Checks if given object is an instance of BAMReader.
(bam-writer? wtr)
Checks if given object is an instance of BAMWriter.
Checks if given object is an instance of BAMWriter.
(bcf-reader? rdr)
Checks if given object is an instance of BCFReader.
Checks if given object is an instance of BCFReader.
(bcf-writer? wtr)
Checks if given object is an instance of BCFWriter.
Checks if given object is an instance of BCFWriter.
(bed-reader? rdr)
Checks if given object is an instance of BEDReader.
Checks if given object is an instance of BEDReader.
(bed-writer? wtr)
Checks if given object is an instance of BEDWriter.
Checks if given object is an instance of BEDWriter.
(bigwig-reader? rdr)
Checks if given object is an instance of BIGWIGReader.
Checks if given object is an instance of BIGWIGReader.
(fasta-reader? rdr)
Checks if given object is an instance of FASTAReader.
Checks if given object is an instance of FASTAReader.
(fasta-writer? wtr)
Checks if given object is an instance of FASTAWriter.
Checks if given object is an instance of FASTAWriter.
(fastq-reader? rdr)
Checks if given object is an instance of FASTQReader.
Checks if given object is an instance of FASTQReader.
(fastq-writer? wtr)
Checks if given object is an instance of FASTQWriter
Checks if given object is an instance of FASTQWriter
(file-type f)
Detects a file format from a path of f, returning a keyword representing the format. Throws an exception if an unsupported file is supplied.
Detects a file format from a path of f, returning a keyword representing the format. Throws an exception if an unsupported file is supplied.
(file-type-from-bytes ba)
Tries to detect a file format based on contents of the byte array ba
.
The input byte array must be larger than 4 bytes. Note that detection of some
formats #{:fasta :fastq :wig :fai :bed}
is based on naive heuristics and
thus can fail.
Tries to detect a file format based on contents of the byte array `ba`. The input byte array must be larger than 4 bytes. Note that detection of some formats `#{:fasta :fastq :wig :fai :bed}` is based on naive heuristics and thus can fail.
(file-type-from-contents f)
Detects a file format based on contents of the input file f
. Causes a side
effect of reading some header bytes.
Detects a file format based on contents of the input file `f`. Causes a side effect of reading some header bytes.
(sam-reader? rdr)
Checks if given object is an instance of SAMReader.
Checks if given object is an instance of SAMReader.
(sam-writer? wtr)
Checks if given object is an instance of SAMWriter.
Checks if given object is an instance of SAMWriter.
(sequence-reader? rdr)
Checks if given object implements protocol ISequenceReader.
Checks if given object implements protocol ISequenceReader.
(sequence-writer? wtr)
Checks if given object implements protocol ISequenceWriter.
Checks if given object implements protocol ISequenceWriter.
(twobit-reader? rdr)
Checks if given object is an instance of TwoBitReader.
Checks if given object is an instance of TwoBitReader.
(twobit-writer? wtr)
Checks if given object is an instance of TwoBitWriter.
Checks if given object is an instance of TwoBitWriter.
(variant-reader? rdr)
Checks if given object implements protocol IVariantReader.
Checks if given object implements protocol IVariantReader.
(variant-writer? wtr)
Checks if given object implements protocol IVariantWriter.
Checks if given object implements protocol IVariantWriter.
(vcf-reader? rdr)
Checks if given object is an instance of VCFReader.
Checks if given object is an instance of VCFReader.
(vcf-writer? wtr)
Checks if given object is an instance of VCFWriter.
Checks if given object is an instance of VCFWriter.
(wig-reader? rdr)
Checks if given object is an instance of WIGReader.
Checks if given object is an instance of WIGReader.
(wig-writer? wtr)
Checks if given object is an instance of WIGWriter.
Checks if given object is an instance of WIGWriter.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close