LarsNauheimer / HybPhaser

Workflow to detect and phase hybrids in target capture data
GNU General Public License v3.0
16 stars 5 forks source link

allow different locus naming convention #9

Closed bmichanderson closed 1 year ago

bmichanderson commented 1 year ago

This adds functionality to the script for working on data that is not output from HybPiper and names its loci differently (e.g. 0–352).

In order to avoid multiple matches with grep (e.g. locus "12" matches "12", "112", "212"), I've changed to match so that only a single locus is matched. This should not change the way the function works on HybPiper data.

LarsNauheimer commented 1 year ago

I thought I had removed all greps for that reason. I must have overlooked that one. good find. Thanks, Ben!!!