Comments (8)
I got this as well. Fixed by changing line 83 of recycle.py:
G.remove_nodes_from(nx.isolates(G)) --> G.remove_nodes_from(list(nx.isolates(G)))
from recycler.
Thanks. Are you sure all the dependencies are covered? How did you install?
from recycler.
MacOS (works):
- numpy 1.12.1
- networkx 1.11
- pysam 0.11.2.2
- nose 1.3.7
- BWA 0.7.5a
- samtools 1.5
- SPAdes 3.10.1
none of the dependencies were met, so I installed with conda
Ubuntu (doesn't work):
- numpy 1.11.1
- networkx 2.0b2
- pysam 0.12
- nose 1.3.7
- BWA 0.7.12
- samtools 1.5
- SPAdes 3.10.1
Was only missing networkX, which I installed via pip
from recycler.
I was getting the same error on MacOS 10.12 (Sierra). Matching the versions of the module fixed the issue.
from recycler.
Hi @salvoc81, do you mean the versions that are in the README?
@Freemacl, sorry for my delay, am wrapping up my thesis now; will look into this soon
from recycler.
Hi, I got the same error, but downgraded Python networkX from 2.0 to 1.11 and the error disappeared.
from recycler.
@nwatarai @salvoc81 Thanks for the help! That fixed my issue. Phew.
from recycler.
Merged bug fix into master
from recycler.
Related Issues (20)
- make_fasta_from_fastg.py: error: argument -b/--bam is required HOT 1
- test HOT 1
- make_fasta_from_fastg.py :: incorrect help message HOT 1
- RuntimeError: dictionary changed size during iteration HOT 2
- ImportError: No module named recyclelib.utils HOT 1
- RuntimeWarning: invalid value encountered in sqrt HOT 5
- ZeroDivisionError: float division by zero HOT 2
- Support for assembly graphs in .gfa format HOT 3
- Recycler with Bowtie2 and MEGAHIT HOT 1
- Length of circular contigs HOT 6
- ''Node not found'' issue HOT 1
- Support for GFA graph format?
- Empty output files HOT 1
- not an issue: small suggestion for recycler.py
- recycler.py doesn't end (metagenome data) HOT 3
- No output produced HOT 3
- Using contigs or scaffolds instead of the assembly graph. HOT 5
- Visualizing the predicted plasmids HOT 1
- AttributeError: Digraph object HOT 1
- Samtools sort changed 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 recycler.