Git Product home page Git Product logo

Comments (24)

iminkin avatar iminkin commented on September 27, 2024

There is a field chrList_ in the class OutputGenerator, block.GetChr() is the index of the chromoome in chrList_

from sibelia.

vyahhi avatar vyahhi commented on September 27, 2024

Can you make it as block's method?

from sibelia.

iminkin avatar iminkin commented on September 27, 2024

And struct FASTARecord has field description which is read sequence header

from sibelia.

iminkin avatar iminkin commented on September 27, 2024

Ok, I will add this as block's method.

from sibelia.

vyahhi avatar vyahhi commented on September 27, 2024

Thanx.

from sibelia.

iminkin avatar iminkin commented on September 27, 2024

See BlockInstance::GetChrInstance() method

from sibelia.

vyahhi avatar vyahhi commented on September 27, 2024

block.GetChrInstance().GetDescription() returns something meaningless, e.g. 1|, 2|, 3| and 4| for Staphy.

from sibelia.

iminkin avatar iminkin commented on September 27, 2024

I will inspect this

from sibelia.

vyahhi avatar vyahhi commented on September 27, 2024

As description you can take anything from the header starting from ">" to the next whitespace.

from sibelia.

vyahhi avatar vyahhi commented on September 27, 2024

(excluding ">" itself)

from sibelia.

iminkin avatar iminkin commented on September 27, 2024

It is strange. On my machine GetChrInstance().GetDescription() returns normal id ("gi|150392480|ref|NC_009632.1|") of the sequence, but on d3 diagram the id is truncated as you wrote (1|, 2|, ...). It looks like d3 truncates ids. Try to cout GetDescription() to make sure that it really returns something wrong.

from sibelia.

iminkin avatar iminkin commented on September 27, 2024

Does GetDescription() really returns truncated chr header on your machine or it is chopped by d3?

from sibelia.

vyahhi avatar vyahhi commented on September 27, 2024

Looks like it's my fault, will fix soon.

from sibelia.

vyahhi avatar vyahhi commented on September 27, 2024

Soon = 5 hours.

from sibelia.

iminkin avatar iminkin commented on September 27, 2024

Today is ok.

from sibelia.

vyahhi avatar vyahhi commented on September 27, 2024

Please check D3 now, but looks weird.

from sibelia.

iminkin avatar iminkin commented on September 27, 2024

Maybe it is better to put chr numbers (1, 2 ...) next to the bars with coordinates and write legend somewhere aside?

from sibelia.

vyahhi avatar vyahhi commented on September 27, 2024

Yes, though I don't know how to do it yet :)

from sibelia.

iminkin avatar iminkin commented on September 27, 2024

How much time would it take? Can you do this by Monday? (it is so painful to extend the deadline 👿 )

from sibelia.

vyahhi avatar vyahhi commented on September 27, 2024

including Monday?

from sibelia.

iminkin avatar iminkin commented on September 27, 2024

Yes

from sibelia.

vyahhi avatar vyahhi commented on September 27, 2024

Yes

from sibelia.

kspham avatar kspham commented on September 27, 2024

gi 385215269 ref NC_017366 1 Adding this to every position is very space consuming. The picture looks so big.

from sibelia.

iminkin avatar iminkin commented on September 27, 2024

Yeah, so I created #49. If by Monday evening new diagram won't be ready, then we rollback to the previous version (with chr numbers and no headers at all) and release the packages.

from sibelia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.