Comments (5)
Hi!
That's mysterious, Pathlib should have the exist_ok argument added from 3.5, and it looks like you're using 3.6.
Can you run this line below (swapping out python for the interpreter you're using if necessary)?
python -c "from pathlib import Path; Path('./output').mkdir(exist_ok=True)"
Let me know if that's giving the same error. You may want to try with python3.8 instead if it does.
from duplex-tools.
Thanks for your reply. I swapped out python for the python I used for duplex_tools and run the above command. It gave the same error.
Traceback (most recent call last): File "<string>", line 1, in <module> TypeError: mkdir() got an unexpected keyword argument 'exist_ok'
I will try with another python version. Thanks.
from duplex-tools.
Hi , @Rasinj
I reinstalled duplex_tools using python 3.8, run the same command : duplex_tools pairs_from_summary sequencing_summary.txt ./output , but the problem still exists.
[19:03:13 - FindPairs] Duplex tools version: 0.2.7
Traceback (most recent call last):
File "/export/pipeline/RNASeq/Software/Duplex_tools/bin/duplex_tools", line 8, in <module>
sys.exit(main())
File "/export/pipeline/RNASeq/Software/Duplex_tools/lib/python3.8/site-packages/duplex_tools/__init__.py", line 39, in main
args.func(args)
File "/export/pipeline/RNASeq/Software/Duplex_tools/lib/python3.8/site-packages/duplex_tools/pairs_from_summary.py", line 336, in main
find_pairs(
File "/export/pipeline/RNASeq/Software/Duplex_tools/lib/python3.8/site-packages/duplex_tools/pairs_from_summary.py", line 34, in find_pairs
outdir, output_pairs, output_intermediate = prepare_output_paths(
File "/export/pipeline/RNASeq/Software/Duplex_tools/lib/python3.8/site-packages/duplex_tools/pairs_from_summary.py", line 101, in prepare_output_paths
outdir.mkdir(parents=True, exist_ok=True)
TypeError: mkdir() got an unexpected keyword argument 'exist_ok'
from duplex-tools.
I checked my pathlib package version, it's 1.0.1. Is this version too old for duplex_tools?
but pip automatically installed pathlib 1.0.1 when I install duplex_tools.
Maybe the dependencies to install duplex_tools should be modified a little?
from duplex-tools.
Hi @defendant602, ah I think that must be it. Thanks for noticing. In fact, I believe it should be included by default, so perhaps the most sensible thing is to remove it as an explicit dependency
from duplex-tools.
Related Issues (20)
- pairs.txt file empty, but pairs_from_bam/pair_ids.txt not empty HOT 1
- empty output from split_pairs HOT 5
- KeyError: 'sequence_length_template' when basecalling is turned off HOT 2
- Duplicate reads and read splitting option in MinKNOW HOT 9
- Positional arguments (especially seqkit_stats_nosecondary) in duplex_tools assess_split_on_adapter HOT 1
- split_pod5 supported seed types error HOT 3
- pod5 version of duplex_tools issue HOT 3
- question on split pairs HOT 3
- promethion good pairs: 0 HOT 3
- Extracting duplex reads for multiplexed samples HOT 2
- Unexpected base in duplex call HOT 4
- issue with split_on_adapter output HOT 17
- couldn't install on linux or pc HOT 5
- np.bool deprecated, package no longer works HOT 1
- split_on_adapter no more than one core?
- guppy_duplex ValueError: not enough values to unpack (expected 4, got 3) HOT 5
- Low number of good pairs after filtering HOT 1
- split_on_adapter: Missing internal adapter/primer from the middle of the main read
- numpy<1.24 incompatible with python3.12 HOT 3
- merging original duplex bam file with the addtional split duplex bam file HOT 1
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 duplex-tools.