#htslib

Pierre Lindenbaumyokofakun@genomic.social
2025-12-26

playing with GNU #guile and #htslib.

(define with_vcf (lambda (f action) (begin
(define header (bcf_hdr_read f))
(define b (bcf_init1))
(while (>= (bcf_read fp header b) 0) (action header b))
(bcf_hdr_destroy header)
(bcf_destroy b)
(hts_close f)
)))

#bioinformatics #guile #scheme #vcf #lisp

#htslib #Bioinformatics #GenomicsIO
@yokofakun any idea what is the fastest method to get the nth bcf record using htslib or bcftools.h without explicit loops? (trying out something similar to your project github.com/lindenb/rbcf but with ALTREP)
I guess it is possible to guess which block to (lazy) parse if one know the blocks offsets and number of records per block

Pierre Lindenbaumyokofakun@genomic.social
2024-09-29

via Stephen Turner on X : "Everyone's giving NotebookLM their papers, theses, marketing materials, etc. to generate these "Podcasts".

I gave it the full text of kseq.h from seqtk. "

notebooklm.google.com/notebook

#IA #podcast #htslib #bioinformatics

Pierre Lindenbaumyokofakun@genomic.social
2023-04-27

PR accepted ! option "--drop-genotypes" in #bcftools concat github.com/samtools/bcftools/p 🥳🥳

#bioinformatics #genomics #htslib

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst