Comments (6)
Thank you for your issue. Give us a little time to review it.
PS. You might want to check the FAQ if you haven't done so already.
This is an automated reply, generated by FAQtory
from readfish.
HI,
Thanks for raising this - we will have a look. We tend not to run on flongles for a variety of reasons.
Will post here when the issue is resolved.
Matt
from readfish.
OK - we've found the issue - it is a bug due to the unusual size of the flongle flowcell.
We will fix this and implement in the next release of readfish. If you want to manually make this work for your flongle, please edit this line in your local copy of the code:
readfish/src/readfish/_utils.py
Line 284 in 8e5210e
and change
axis: int = 1
to
axis: int = 0
The reason the validate command works is that it does not the flowcell shape - this is only done when you run with a live flowcell.
from readfish.
Hi Matt,
Thank you for your quick response. Apologies for my delay in getting back to you - we've just been able to try the manual fix you suggested. We are still getting errors after adjusting to axis: int = 0
. The new errors we are seeing are below:
Traceback (most recent call last):
File "<cattrs generated structure readfish._config.Conf>", line 33, in structure_Conf
return __cl(
File "<attrs generated init readfish._config.Conf>", line 14, in __init__
self.__attrs_post_init__()
File "/home/dcwrenn/miniconda3/envs/readfish/lib/python3.10/site-packages/readfish/_config.py", line 284, in __attrs_post_init__
split_channels = generate_flowcell(self.channels, len(self.regions) or 1)
File "/home/dcwrenn/miniconda3/envs/readfish/lib/python3.10/site-packages/readfish/_utils.py", line 384, in generate_flowcell
raise ValueError("The flowcell cannot be split evenly")
ValueError: The flowcell cannot be split evenly
During handling of the above exception, another exception occurred:
+ Exception Group Traceback (most recent call last):
| File "/home/dcwrenn/miniconda3/envs/readfish/bin/readfish", line 8, in <module>
| sys.exit(main())
| File "/home/dcwrenn/miniconda3/envs/readfish/lib/python3.10/site-packages/readfish/_cli_base.py", line 61, in main
| raise SystemExit(args.func(parser, args, extras))
| File "/home/dcwrenn/miniconda3/envs/readfish/lib/python3.10/site-packages/readfish/entry_points/targets.py", line 616, in run
| conf = Conf.from_file(args.toml, read_until_client.channel_count, logger=logger)
| File "/home/dcwrenn/miniconda3/envs/readfish/lib/python3.10/site-packages/readfish/_config.py", line 376, in from_file
| return cls.from_dict(dict_, channels)
| File "/home/dcwrenn/miniconda3/envs/readfish/lib/python3.10/site-packages/readfish/_config.py", line 394, in from_dict
| return conv.structure(dict_, cls)
| File "/home/dcwrenn/miniconda3/envs/readfish/lib/python3.10/site-packages/cattrs/converters.py", line 332, in structure
| return self._structure_func.dispatch(cl)(obj, cl)
| File "<cattrs generated structure readfish._config.Conf>", line 36, in structure_Conf
| except Exception as exc: raise __c_cve('While structuring ' + 'Conf', [exc], __cl)
| cattrs.errors.ClassValidationError: While structuring Conf (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "/home/dcwrenn/miniconda3/envs/readfish/lib/python3.10/site-packages/readfish/_utils.py", line 378, in generate_flowcell
| arr = np.array(np.split(arr, split, axis=axis))
| File "/home/dcwrenn/miniconda3/envs/readfish/lib/python3.10/site-packages/numpy/lib/shape_base.py", line 864, in split
| raise ValueError(
| ValueError: array split does not result in an equal division
|
| During handling of the above exception, another exception occurred:
|
| Traceback (most recent call last):
| File "<cattrs generated structure readfish._config.Conf>", line 33, in structure_Conf
| return __cl(
| File "<attrs generated init readfish._config.Conf>", line 14, in __init__
| self.__attrs_post_init__()
| File "/home/dcwrenn/miniconda3/envs/readfish/lib/python3.10/site-packages/readfish/_config.py", line 284, in __attrs_post_init__
| split_channels = generate_flowcell(self.channels, len(self.regions) or 1)
| File "/home/dcwrenn/miniconda3/envs/readfish/lib/python3.10/site-packages/readfish/_utils.py", line 384, in generate_flowcell
| raise ValueError("The flowcell cannot be split evenly")
| ValueError: The flowcell cannot be split evenly
+------------------------------------
from readfish.
Hi @Dcwrenn, apologies that should read:
readfish/src/readfish/_utils.py
Lines 331 to 333 in 8e5210e
axis: int = 1
to
axis: int = 0
What we've changed above will let us draw an ASCII split flow cell to the CLI, so that is also required!
Cheers.
Rory
from readfish.
Related Issues (20)
- readfish with just depletion? HOT 4
- Not being able to finish the tutorial/test HOT 6
- Provide additional TOML files which provide examples of host depletion and other use cases for readfish.
- location of readfish output HOT 4
- toml_live handling issue
- Depletion setting and unexpected behavior HOT 2
- Question about Readfish basecalling performance for messy samples HOT 6
- Playback issue HOT 14
- Problem communicating with basecaller after MinKnow update HOT 10
- Detect MinKNOW version and warn. HOT 1
- Circular Binary Segmentation HOT 3
- Having only one region in toml caused issue HOT 13
- chore: update github workflow actions HOT 1
- Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED HOT 4
- comparison between MinKNOW and Readfish HOT 4
- chore: update FAQ
- next release candidate checklist
- High count of no-barcode that map to my targets HOT 15
- Readfish is not running for Flongle Playback Data HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from readfish.