Open isaacovercast opened 4 years ago
This is implemented in the snps_extracter
tool used in ipyrad.analysis. We could either (1) advise users to just use the ipa tools if they want to implement this filter; or (2) maybe it is easy to implement as a hackers option like you said. We'd have to look into it on the latter front...
When filtering the unlinked snps files it would be useful to have a parameter to control how sites with indels are treated. Maybe the filter can just ignore all indel sites when filtering unlinked snps? Or maybe it can set a threshold minimum number of samples per snp analogous to the min_samples_locus. Maybe it would even be a 'hackersonly' parameter. Just an idea.