Giter VIP home page Giter VIP logo

Comments (6)

joverlee521 avatar joverlee521 commented on August 19, 2024 1

For now, I've manually edited the genome annotations in the current seasonal flu builds so you can use the color-by option.
Once #99 is merged, future builds should be fixed as well.

from seasonal-flu.

ammaraziz avatar ammaraziz commented on August 19, 2024

Out of interest is this an auspice setting or an issue with augur output?

from seasonal-flu.

joverlee521 avatar joverlee521 commented on August 19, 2024

Hi @ammaraziz, thank you for reporting this bug!

The root of the problem seems to be the CDS coordinates in our workflow's H3N2 NA reference. The current coordinates are 4..1410, but the full coordinates should be 4..1413 based on the record in GenBank.

This reference is passed to the augur translate command via the --reference-sequence option in the workflow. The features parsed from the reference are used to generate the genome annotations which are ultimately exported by augur export v2 as the meta.genome_annotations in the main Auspice JSON file.

Within Auspice, the range displayed is based on the gene length calculated from the meta.genomeAnnotations. With the current CDS coordinates, this is calculated as Math.floor((1410 - 4) / 3), which is 468.

from seasonal-flu.

tsibley avatar tsibley commented on August 19, 2024

Notably, even in the copy we have with the bad coordinates, the translation field for that CDS is the correct length (469).

This also raises the question of if any of the other reference files are subtly wrong?

from seasonal-flu.

ammaraziz avatar ammaraziz commented on August 19, 2024

Thank you for the quick fix @joverlee521. I was trying to track where the issue was coming from, so thank you for explaining.

@tsibley Good point. I visually inspected (using UGENE software) HA/NA segments for the 4 subtypes. From how the range is calculated, the stop codon needs to be included.

The other NA gb files are correct (except the aforementioned issue with H3)
H3HA short by 3 for HA2

Thank you for fixing this issue!

from seasonal-flu.

huddlej avatar huddlej commented on August 19, 2024

Fixed by #99

from seasonal-flu.

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.