Comments (5)
@brettChapman
Where there errors while you ran PGGB with a certain combination of parameters? Or was this independent of a PGGB run?
Could you please write the commands you used? Or give an example with a minimal data set?
Thanks!
from pggb.
These were errors I received after I had completed the PGGB run. It happened with some graphs but not all.
After I generated the smoothed GFA, they contained consensus paths (an earlier build of PGGB before consensus paths were dropped by default). I proceeded to remove the consensus paths and was left with VG graphs without the consensus. I then converted these to GFA so I could then build OG graphs with ODGI and visualise the 2D graphs without the consensus paths. Some ODGI runs complained that the graph was unsorted and suggested I run odgi sort
with -O. See an error below for my 3H graph.
odgi viz -i barley_pangenome_graph_3H.gfa.og -o barley_pangenome_graph_3H.gfa.og.viz_mqc.png -x 1500 -y 500 -P 10 -b
[odgi::viz] error: the graph is not optimized. Please run 'odgi sort' using -O, --optimize
from pggb.
How did you remove the consensus graphs?
Note that odgi viz
has the -I, --ignore-prefix
option, which would allow you to ignore paths with a certain prefix.
from pggb.
I needed to remove the consensus paths because they were getting in the way when using sequenceTubeMap. The plan was to visualise interactively in sequenceTubeMap for our end users (barley breeders and geneticists). Lots of consensus paths would just confuse the visualisation. I ended up running vg chunk on the entire graph to get gene chunks into sequenceTubeMap because it currently can not visualise the whole pangenome graph at once.
I ran this code to remove the consensus paths:
vg convert -g test_graph.gfa -p > test_graph.pg
vg index test_graph.pg -x test_graph.xg
vg paths -x test_graph.xg -L | grep Consensus > consensus_paths.txt
vg paths -v test_graph.pg -p consensus_paths.txt -d > test_graph.noConsensus.vg
vg index test_graph.noConsensus.vg -x test_graph.noConsensus.xg
from pggb.
Seems like this is solved as mentioned in pangenome/odgi#282.
from pggb.
Related Issues (20)
- Wrong setting of POA, but it still finish without error HOT 4
- Path to paf2net.py not correct in latest Docker build HOT 2
- 'SN:Z' and 'SO:i' tags for segments/nodes HOT 1
- How to handle when two contigs from the same assembly sligtly overlap HOT 7
- Construct PanGenome HOT 7
- How to understand the vcf file output by PGGB? HOT 3
- the parameters to build pangenome for metagenomes HOT 2
- [docker] wfmash: error while loading shared libraries: libwfa2cpp.so.0 HOT 1
- --n-haplotypes option not recognized HOT 2
- vg deconstruct error HOT 5
- Command terminated by signal 8 HOT 2
- How to visulize PGGB graph in Sequence Tube Map?
- seqwish fails when `--output-dir` contains commas HOT 1
- Parameters optimization
- [help] My reference genome of a diploid organism is a primary assembly HOT 3
- Gradual increase of pan-genomes HOT 1
- computational efficiency of pggb HOT 3
- container creation failed
- Command terminated by signal 6 HOT 4
- Setting the poa-length-target(s)
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 pggb.