I have been recently running some tests with ancIBD (v0.7) and from what I can see the mask (--mask) option does not appear to have any impact on the results.
I’m using the mask file provided in the vignette (./map/mask.track). From what I can see from the code, adding a header to the mask file is required (ch start_bp end_bp start_cm end_cm) and from the log file it appears to be working, but the output is identical whether the command is included or not.
I’ve put the commands and a subset of the results below for a test I ran on chromosome 18 for two individuals. The full log files and results are attached.
There is an example of a segment (6416465 BP to 8096608 BP) that I believe should be masked out but had not been.
Hopefully I haven’t missed something obvious on my end!
Dear Harald and Yilei
I have been recently running some tests with ancIBD (v0.7) and from what I can see the mask (--mask) option does not appear to have any impact on the results.
I’m using the mask file provided in the vignette (./map/mask.track). From what I can see from the code, adding a header to the mask file is required (ch start_bp end_bp start_cm end_cm) and from the log file it appears to be working, but the output is identical whether the command is included or not.
I’ve put the commands and a subset of the results below for a test I ran on chromosome 18 for two individuals. The full log files and results are attached.
There is an example of a segment (6416465 BP to 8096608 BP) that I believe should be masked out but had not been.
Hopefully I haven’t missed something obvious on my end!
Best Hugh
ancIBD command with mask
ancIBD command without mask
Mask file
Section of log file
Results from run with mask:
RISE109_EAS004.mask.ch18.txt RISE109_EAS004.no_mask.ch18.txt log.mask.txt log.no_mask.txt