brentp / somalier

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

Missing groups.tsv #137

Closed andreabc closed 4 months ago

andreabc commented 4 months ago

Hello,

Would we expect an empty file or no file at all if there are no pairs of samples above the relatedness threshold?

I'm currently not seeing my "{output_prefix}.groups.tsv" file and wondering if this expected - I've managed to successfully run this (and get all expected output files) on all my other cohorts and this is the one exception

Many thanks

brentp commented 4 months ago

Hi, if no samples appear to be related above 0.125, then no groups file is created: https://github.com/brentp/somalier/blob/master/src/somalierpkg/relate.nim#L144

andreabc commented 4 months ago

great, thanks again!