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.
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 tomatch
so that only a single locus is matched. This should not change the way the function works on HybPiper data.