You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cause of the error is the frequent use of split("_") on the path without considering the use of underscores in the header name. In DAJIN2, various annotations are added to the header name using _ as the delimiter. If the user-specified FASTA header name contains _, the expected splits are misaligned.
To handle cases where "_" is included, appropriate splitting should be performed. Specifically, it is recommended to remove the FASTA header name before splitting.
The following script contains hard-coded instances of the above issue, which need to be corrected.
Modified the system to separate intermediate files using a directory structure instead of underscores (""), ensuring that no errors occur even if users use allele names containing underscores ("").
The imprementation will be reflect on DAJIN2 v0.5.0.
Describe the bug
If an underscore
_
(e.g., >1_hoge) is included in the header name of the input FASTA file for DAJIN2, the following error occurs:Solutions
The cause of the error is the frequent use of
split("_")
on the path without considering the use of underscores in the header name. In DAJIN2, various annotations are added to the header name using_
as the delimiter. If the user-specified FASTA header name contains_
, the expected splits are misaligned.To handle cases where "_" is included, appropriate splitting should be performed. Specifically, it is recommended to remove the FASTA header name before splitting.
The following script contains hard-coded instances of the above issue, which need to be corrected.
Steps/Code to Reproduce
Operating System
WLS2
Python version
3.10
DAJIN2 version
0.4.6
Additional context
Thank you @geedrn for reporting the issue!!
The text was updated successfully, but these errors were encountered: