- mbin version: not tested or used
- Python version: not tested or used
- Operating System: not tested or used
Description
Hey,
You have an algorithm error here if user give the same file than the --input your file content will be erased before reading due to the fact that you open the same file in writing mode so the file will be replaced before you read it.
https://github.com/fanglab/mbin/blob/master/mbin/bhtsne.py#L102