brentp / somalier

fast sample-swap and relatedness checks on BAMs/CRAMs/VCFs/GVCFs... "like damn that is one smart wine guy"
MIT License
254 stars 35 forks source link

Added option to prefix sample names in the digests #41

Closed kpalin closed 4 years ago

kpalin commented 4 years ago

I have thousands of samples from SNP chips, Illumina wgs, Nanopore and what not and sometimes the sample names from different platforms are identical, or the source platform is difficult to identify. This lets user to add e.g. the source platform or source bam/vcf file to the sample name which is stored inside the digest.

(nimble mods for getting somalier compile on my platform)

kpalin commented 4 years ago

The sample ids in the pedigree file will need to be the prefixed versions. For all-vs-all somalier relate the prefixed names just flow through and appear in the pairs.tsv and samples.tsv

brentp commented 4 years ago

this fell off my radar. is this ready from your end?

kpalin commented 4 years ago

Yes. It should be fine.

brentp commented 4 years ago

thank you.