GithubHelp home page GithubHelp logo

wurmlab / afra Goto Github PK

View Code? Open in Web Editor NEW
36.0 11.0 21.0 40.17 MB

Genome Annotation for the Masses

Home Page: http://afra.sbcs.qmul.ac.uk

License: Apache License 2.0

Perl 27.17% Ruby 1.84% JavaScript 67.14% ApacheConf 0.03% HTML 1.88% CSS 1.11% Perl 6 0.82%
gene-prediction crowdsourcing education curation

afra's People

Contributors

aniarya82 avatar bmpvieira avatar hargup avatar raivivek avatar sa1 avatar yannickwurm avatar yeban avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

afra's Issues

scrollwheel-zooming

normal scrolling zoom (with scroll-wheel or gestures on ipad/trackpad) should work: users expect it + its extremely handy + we'll need it for tablets

Zoom level with overlapping genes.

If two maker predictions overlap (even if on different strands), the curation task is much more difficult. We shouldn't show these to junior users.

When we do show them, the browser should probably be zoomed out to show both models (e.g. this didn't happen for the task at Si_gnF.scaffold02694:11748..16889 )

Display only relevant data

After clicking "Contribute more", previous curation contribution is still visible (if new location is on same scaffold). Data needs to be flushed/loaded from scratch

jBrowse scrolls to bottom

When you click "Curate" from the dashboard, the loaded jBrowse scrolls down to the bottom. This is confusing to users. Like Webapollo & normal jBrowse, it should load scrolled to the top (i.e. where you cannot go any higher)

Stop rebasing master!

PLEASE!!! There's no reason for this... and every time you do it, a kitten dies somewhere... srsly!!! THINK OF THE KITTENS!!!1

Issues installing using Docker

I'm using boot2docker on Mac OS 10.10b3, and having loading the app:

docker build -t yeban/afra .
docker run -t -i -p 9292:9292 yeban/afra

This all works find, and I can see that the run.sh script execute and the database is created and app.rb is running and responding to my requests, but whenever I load http://localhost:9292 I get a blank page, not the content from www/index.html.

edit track should be above others.

when dragging the screen the yellow edit track stays "stuck" where it was.
Ok but currently the other tracks go on top of this and above this. Visually very confusing - other tracks should disappear underneath the yellow.

Error message when searching reference sequence

After creating a track “Search reference sequence.” of 5 aa (GWYLVW), I scrolled up to check other tracks. Then when I scrolled back down, an error message popped up (see screenshot). I then realised I did not tick “aa” in the track creation, so I created a second track ticking “aa” and exactly the same error message appeared. The only way to remove these error messages was to go back to the dashboard and click “Curate”.
search track error cropped

Installation fails

I tried following the installation instructions on my 10.9.1 mac. Some of the prerequisites were easier (thanks to home-brew). I did the following:

brew install ruby-install
ruby-install ruby  
# actually installs 2.1, not 2.0.0 as the documentation says. 

brew install chruby
# Add the following to the ~/.bashrc or ~/.zshrc file:
# source /usr/local/share/chruby/chruby.sh

brew install https://raw.github.com/postmodern/chgems/master/homebrew/chgems.rb
brew install n

open /Applications/Postgres.app

That all went very smoothly. However, rake fails. The full log is here. At least one reason is that it cannot install pg gem. Instead, you need: gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/MacOS/bin/pg_config

If I try to push/hack through these issues, I later get stuck with this type of error:

/usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/sequel-4.7.0/lib/sequel/adapters/postgres.rb:161:in async_exec': PG::UndefinedTable: ERROR: relation "features" does not exist (Sequel::DatabaseError)
LINE 1: SELECT * FROM "features" LIMIT 1`

BTW, In the wiki, the line ruby -r ./app.rb -e 'App.gff2jbrowse is missing a closing '

gene model become non-editable after a glitch while zooming out

I was editing one model and zoomed out, only to see that the gene model had disappeared from the edit track. I selected it again and dragged it on the edit track. It became shaded (see screenshot) and won't be editable. I had to go back to dashboard and click on curate to fully recover the gene model.

shaded_sequence_when_dragged_on_edit_track

context menu missing

The menu that appears when you right click on a feature to extract sequence etc in webapollo is missing

highlight reading frame

This is applicable only when zoomed in to base pair level. Perhaps highlight the active reading frame with a green border.

Rightclick on exon 2 while resizing exon 1

Rightclick on exon 2 while resizing exon 1 - the resize thing stays blocked:

http://i.imgur.com/4jh7zXP.png

Even if you change pages, the resize-thing stays blocked onscreen

http://i.imgur.com/7JxEOtV.png

The solution is likely to kill any currently active editing action if user right-clicks...

JS: Dragging on first click

After the first click on a gene model you cannot drag it into the edit track. You can only do this after the second. That it counterintuitive.

Add Alert: Only works in Chrome

Times aren't displayed properly in Safari. Easiest solution is to restrict development & beta usage to Chrome (where things do display correctly).

vertical screenspace underused

vertical screenspace is badly used. Only very few gene predictions are shown in comparison with a similar webapollo display

performance degradation

After spending a few minutes clicking on things the cursor messes up... e.g. stays stuck in "move around mode" or in "zoom in mode"

Checklist placeholder

Currently need: bullet-points or 'function-less' checkboxes.
Anurag: if you propose something based on webapollo tutorial/documentation in a google doc, I can revise

Broken editing

CSS is messed up when editing (resize boxes, arrowheads)

search track empty after zooming in

The search option is not user-friendly. In this particular gene (>maker-Si_gnH.scaffold00024-snap-gene-4.24-mRNA-1Si_gnH.scaffold00024:438016..455209(+) genomic 17193bp), I searched [options aa and forward] for the short sequence VELAG. The new track appeared at the bottom of the screen but was left empty (no usual yellow rectangle with an arrow). When zooming out to 435,000 to 460,000 it can be seen (see screenshot 1). But when zooming in on it (click-and-drag), it disappears (see screenshot 2).
velag_search_visible_zoomed_out
velag_search_not_visible_zoomed_in

nucleotides within gene predictions

when I zoom in, nucleotides often aren't shown correctly in the exons (within edit track) - the spacing is incorrect thus they are left-aligned within each "block" (the equivalent nucleotides are corruptly positioned in the DNA track)

WA?

add WA logo if some WA is used. And/or state in readme that some code is from WA.

splice sites

when editing, non-canonical splice sites fail to light up

Allow alternate translation table

Can do by modifying or swapping CodonTable.js with another once the following are implemented:

  • Afra assumes only one possible start codon (ATG). 'Set Longest ORF', 'Set Translation Start', 'Mark non-canonical translation start site' will need to be flexible to multiple start codons.
  • Known splice donors and splice acceptors should be a constant in CodonTable.js, and functions need to take that into account.

Contribute more should send farther

"contribute more" shifts me 100bp further to the right. If genes are closely, this makes it feel as if it did nothing.
Instead, "contribute more" should send the user to a random gene with same priority

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.