Closed derollins closed 7 months ago
Is a result of the dnatracing padding not being enough. Changing this vaue in the config from 1 to 3 fixes this:
In get_fitted_traces
the variable index_width
determines how far from the trace coordinate to look for a higher region to better align the trace onto the DNA backbone. However, in some cases this value can be too large, and indexes outside the cropped images' limits.
It seems like the region of the code which checks if it is within the bounds:
elif trace_coordinate[0] >= (self.number_of_rows - index_width):
...
trace_coordinate[0] = self.number_of_rows - index_width # needs to add -1 to be within the max image index
NB TopoStats
< 2.0.0
is no longer actively maintained. If you have encountered an issue using this deprecated version please try TopoStats>= 2.0.0
, there are instructions on installation, usage and configuration.By default TopoStats will process images in parallel to speed up processing. In order to identify the problematic image you should re-run your analyses using the
--cores 1
option so that images are processed sequentially. This makes it possible to identify which image causes the problem.Checklist
Please try and tick off each of these items when filing the bug report. There are further instructions on each below.
run_topostats --core 1
.run_topostats --version
Describe the bug
This image: https://drive.google.com/file/d/1TT7UR7419EbSOaITvhpcuG7sNYKd6F-3/view?usp=drive_link is well masked however it does not get traced.
Copy of the output
Please copy and paste the output that is shown below within the ``` (triple-backticks).
Get this error:
Include the configuration file
If no configuration file was specified with the
-c
/--config-file
option the defaults were used, please use therun_topostats --create-config-file crash.yaml
to save these to thecrash.yaml
file and copy the contents below.To Reproduce
https://drive.google.com/file/d/1TT7UR7419EbSOaITvhpcuG7sNYKd6F-3/view?usp=sharing
Output
TopoStats version
Please report the version of TopoStats you are using. There are several ways of doing this, either with
pip
orrun_topostats
. Please copy and paste all output from either of the following commands.pip show topostats
run_topostats --version
Operating System and Python Version
Operating System
Please let us know what operating system you are using, if you have used more than one then tick all boxes.
Python Version
Please let us know the version of Python you are using, paste the results of
python --version
Python Packages
If you are able to provide a list of your installed packages that may be useful. The best way to get this is to copy and paste the results of typing
pip freeze
.