Comments (4)
Okay, I've updated the Bandage code to look for the LN tag and use that for the contig length preferentially over the sequence length. This change is in the development branch of Bandage, so if you want to try it immediately, you can build from source using that branch. Otherwise, assuming everything checks out, it should make its way into the next release.
I should add, however, that I may have been running on the assumption that a contig's length is equal to the length of its sequence. So I fear this could result in strange behaviour or crashes when these two values are not the same. I'll see if I can find any issues.
from bandage.
Thanks for the quick response. In GFA, sequence can be a star "*", indicating the sequence is not available. You can take "LN" in this case. When both sequence and LN are present, you may ignore LN and trust the sequence length, or throw an error/warning if LN is conflictive.
from bandage.
Ah, I had forgotten about that. I've now done a couple more additions (again to the development branch), which take the star into account.
Here's the current behaviour: if the sequence is a star or totally blank, Bandage looks to the LN tag for length. Otherwise, it uses the sequence length.
When saving a graph to file, Bandage will use the star for contigs with missing sequences. But when you are extracting a sequence out of the graph (e.g. as part of a path), it will fill in missing sequences with the appropriate number of Ns.
from bandage.
Sound great. I am closing this issue. Thanks a lot.
from bandage.
Related Issues (20)
- export bubble unitigs?
- Are you guys still working on this? HOT 1
- Install error 1 HOT 2
- Load CSV data - extension request HOT 2
- "save path sequence to fasta" command line option HOT 1
- mac shortcut key problem HOT 1
- Bandage AppImage/AppDir requires the shared libraries libGL.so.1, libfontconfig.so.1, and libfreetype.so.6 HOT 5
- tilting BLAST hits titles
- Overlaps counted twice in "Total length (no overlaps)" calculation? HOT 1
- Packaging and compiling Bandage
- fasta file from other assembly
- What is the shape representing?
- Is Bandage still maintained? + compile error
- Blastdb not enough disk space HOT 1
- NCBI Blast Not Found on PC
- Bandage line command cannot interpret colour scheme from GFA file
- Bandage line command cannot interpret colour scheme from GFA file #95 HOT 1
- command line Bandage: --names --lengths --depth only draws black rectangels HOT 2
- install error HOT 8
- Node Custom Properties
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 bandage.