Utilities for manipulating VCF files
Utilities for manipulating VCF files
(duplicate-samples vcf-files)
Retrieve any duplicate samples in the input VCF files.
Retrieve any duplicate samples in the input VCF files.
(ensure-no-dup-samples vcf-files)
Ensure there are sample name duplicates in the VCF files
Ensure there are sample name duplicates in the VCF files
(get-sample vcf-file)
Retrieve VCF sample name from a single sample input file.
Retrieve VCF sample name from a single sample input file.
(get-samples vcf-file)
Retrieve sample names from a VCF file.
Retrieve sample names from a VCF file.
(has-variants? vcf-file)
Does a VCF file have any variants.
Does a VCF file have any variants.
(pog-reader f)
Plain or gzip input reader.
Plain or gzip input reader.
(region->fileext region-orig)
(region->fileext region-orig prefix)
Convert a region to a stable file extension, handling chr1:1-100 and BED files
Convert a region to a stable file extension, handling chr1:1-100 and BED files
(subset-to-sample vcf-file sample out-dir)
(subset-to-sample vcf-file sample out-dir region)
Subset a VCF file, retrieving a single sample from multisample VCF. If we already have a single sample VCF, return that.
Subset a VCF file, retrieving a single sample from multisample VCF. If we already have a single sample VCF, return that.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close