Coder Social home page Coder Social logo

Comments (6)

nathandunn avatar nathandunn commented on July 21, 2024

gff is 1-based coordinates - but the problem is probably the same sort of thing as before given the GBOL that follows the gff - it'd take looking at it properly to see what's going on as updating the start to either 1 or 2 results in stops in the coding sequence:

##sequence-region Scaffold6154 1 10437
Scaffold6154 WebApollo gene 0 7739 . + . Name=A464CB0E837997D1C1D87DDEDDB8E0BB;date_creation=2014-07-2;owner=[email protected];ID=A464CB0E837997D1C1D87DDEDDB8E0BB;date_last_modified=2014-07-2
Scaffold6154 WebApollo mRNA 0 7739 . + . Name=Scaffold6154:75-606;date_creation=2014-07-2;Parent=A464CB0E837997D1C1D87DDEDDB8E0BB;owner=[email protected];ID=CC2EB7C7C3624151D93F1A98191540FA;date_last_modified=2014-07-2
Scaffold6154 WebApollo exon 0 726 . + . Name=3D2A22D0A9059B01D465618B00B659BB;date_creation=2014-07-2;Parent=CC2EB7C7C3624151D93F1A98191540FA;owner=[email protected];ID=3D2A22D0A9059B01D465618B00B659BB;date_last_modified=2014-07-2
Scaffold6154 WebApollo CDS 2 726 . + 0 Name=CC2EB7C7C3624151D93F1A98191540FA-CDS;date_creation=2014-07-2;Parent=CC2EB7C7C3624151D93F1A98191540FA;owner=[email protected];ID=CC2EB7C7C3624151D93F1A98191540FA-CDS;Note=Manually set translation start;date_last_modified=2014-07-2
Scaffold6154 WebApollo CDS 7449 7725 . + 2 Name=CC2EB7C7C3624151D93F1A98191540FA-CDS;date_creation=2014-07-2;Parent=CC2EB7C7C3624151D93F1A98191540FA;owner=[email protected];ID=CC2EB7C7C3624151D93F1A98191540FA-CDS;Note=Manually set translation start;date_last_modified=2014-07-2
Scaffold6154 WebApollo exon 7449 7739 . + . Name=81268E97CF1F24E9DC7053C58897FB0D;date_creation=2014-07-2;Parent=CC2EB7C7C3624151D93F1A98191540FA;owner=[email protected];ID=81268E97CF1F24E9DC7053C58897FB0D;date_last_modified=2014-07-2

typename : gene, type : sequence:gene - chado uniquename : A464CB0E837997D1C1D87DDEDDB8E0BB : -1 - 7739
typename : mRNA - chado uniquename : CC2EB7C7C3624151D93F1A98191540FA : -1 - 7739
typename : exon - chado uniquename : 3D2A22D0A9059B01D465618B00B659BB : -1 - 726
typename : CDS - chado uniquename : CC2EB7C7C3624151D93F1A98191540FA-CDS : 1 - 7725
typename : exon - chado uniquename : 81268E97CF1F24E9DC7053C58897FB0D : 7448 - 7739

from apollo.

nathandunn avatar nathandunn commented on July 21, 2024

Need to verify / fix.

from apollo.

monicacecilia avatar monicacecilia commented on July 21, 2024

I need more background to test this.
And here is a refresher: https://www.biostars.org/p/84686/

from apollo.

cmdcolin avatar cmdcolin commented on July 21, 2024

While it's unclear how the original problem was generated, I have tried to simulate inputs that might cause problems like this. In one case, I used my script test_add_feature.pl to generate inputs where fmin/fmax are larger than UINT_MAX (other thread #33 (comment))

For example this command that i mentioned in that thread still has problems with Apollo2

perl client/apollo/tests/perl_tests/test_add_feature.pl --username [email protected] --password demo --url http://localhost:8080/apollo --featuredata '[{"location":{"fmin":4294967296,"fmax": 559153,"strand":1},"type":{"cv":{"name":"sequence"},"name":"mRNA"},"name":"TEST4","children":[{"location":{"fmin":559153,"fmax": 559153,"strand":1},"type":{"cv":{"name":"sequence"},"name":"exon"}}]}]' --track Group1.1

This will return a "valid" feature with invalid coordinates (the gff3 results will actually say the start position is -1, not 0)

from apollo.

nathandunn avatar nathandunn commented on July 21, 2024

@cmdcolin K . . thanks I'll take a look.

from apollo.

nathandunn avatar nathandunn commented on July 21, 2024

We won't encounter reference sequences scaffolds larger than an int value.

from apollo.

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.