lbcb-sci / gnnome Goto Github PK
View Code? Open in Web Editor NEWA framework for training graph neural networks to untangle assembly graphs obtained from OLC-based de novo genome assemblers.
License: BSD 3-Clause "New" or "Revised" License
A framework for training graph neural networks to untangle assembly graphs obtained from OLC-based de novo genome assemblers.
License: BSD 3-Clause "New" or "Revised" License
Dear developer:
I am trying to assemble the genome using about 15-20X nanopore data and about 15X illumina genome. The genome we are going to assemble , I would like to ask if this is feasible. I don't know if the software can meet this need?
Best day!
Dear developer:
we used the gnnome well in example data, but what we met the erro is we used the nanopore assemble from raven “raven --threads 100 sample.fastq.gz > sample.raven.contigs.fasta” and we got the fasta file ,then we used the fa2gfa translate the fa to gfa format “fa2gfa -i sample.raven.contigs.fasta -o sample.raven.contig.gfa”.
When we used the step "python /home/test/Software/GNNome-0.4.0/create_inference_graphs.py --reads sample.fastq.gz --gfa sample.raven.contig.gfa --asm raven --out sample.raven" we met the erro:
Starting to parse assembler output
Starting to loop over GFA
Elapsed time: 58s
Elapsed time: 58s
Calculating similarities...
0it [00:00, ?it/s]
Done!
Elapsed time: 58s
Traceback (most recent call last):
File "/home/test/Software/GNNome-0.4.0/create_inference_graphs.py", line 50, in
create_inference_graph(gfa, reads, out, asm)
File "/home/test/Software/GNNome-0.4.0/create_inference_graphs.py", line 13, in create_inference_graph
graph, pred, succ, reads, edges, read_to_node, _ = graph_parser.only_from_gfa(gfa_path, training=False, reads_path=reads_path, get_similarities=True)
File "/home/test/Software/GNNome-0.4.0/graph_parser.py", line 345, in only_from_gfa
graph_dgl = dgl.from_networkx(graph_nx, node_attrs=node_attrs, edge_attrs=edge_attrs)
File "/home/test/anaconda3/envs/gnnome/lib/python3.8/site-packages/dgl/convert.py", line 1345, in from_networkx
g.edata[attr] = F.copy_to(_batcher(attr_dict[attr]), g.device)
File "/home/test/anaconda3/envs/gnnome/lib/python3.8/site-packages/dgl/convert.py", line 1307, in _batcher
if F.is_tensor(lst[0]):
IndexError: list index out of range
Can you help us and tell us how to solve the problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.