├── .ruby-version ├── test ├── empty_config.yml ├── database │ ├── funky_ids │ │ ├── funky_ids.fa.nsi │ │ ├── funky_ids.fa.nhr │ │ ├── funky_ids.fa.nin │ │ ├── funky_ids.fa.nog │ │ ├── funky_ids.fa.nsq │ │ ├── funky_ids.fa.nsd │ │ └── funky_ids.fa │ ├── without_parse_seqids │ │ ├── without_parse_seqids.fa.phr │ │ ├── without_parse_seqids.fa.pin │ │ ├── without_parse_seqids.fa.psq │ │ └── without_parse_seqids.fa │ └── sample │ │ ├── proteins │ │ └── Solenopsis_invicta │ │ │ ├── Sinvicta2-2-3.prot.subset.fasta.phr │ │ │ ├── Sinvicta2-2-3.prot.subset.fasta.pin │ │ │ ├── Sinvicta2-2-3.prot.subset.fasta.pog │ │ │ └── Sinvicta2-2-3.prot.subset.fasta.psi │ │ └── transcripts │ │ └── Solenopsis_invicta │ │ ├── Sinvicta2-2-3.cdna.subset.fasta.nhr │ │ ├── Sinvicta2-2-3.cdna.subset.fasta.nin │ │ ├── Sinvicta2-2-3.cdna.subset.fasta.nog │ │ ├── Sinvicta2-2-3.cdna.subset.fasta.nsi │ │ ├── Sinvicta2-2-3.cdna.subset.fasta.nsq │ │ └── Sinvicta2-2-3.cdna.subset.fasta.nsd └── test_route_spec.rb ├── public ├── web_files │ ├── json │ │ └── .gitkeep │ ├── img │ │ └── gene.png │ └── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.ttf │ │ └── fontawesome-webfont.woff ├── src │ ├── js │ │ ├── jquery.cookie.min.js │ │ ├── bionode-seq.min.js │ │ ├── genevalidator.js │ │ ├── jquery.validate.min.js │ │ ├── bootstrap.min.js │ │ └── jquery.tablesorter.min.js │ └── css │ │ ├── custom.css │ │ └── font-awesome.min.css └── GeneValidator │ └── loading.html ├── config.ru ├── lib ├── genevalidatorapp │ ├── version.rb │ ├── logger.rb │ ├── server.rb │ ├── config.rb │ ├── database.rb │ ├── routes.rb │ ├── exceptions.rb │ └── genevalidator.rb └── genevalidatorapp.rb ├── Gemfile ├── views ├── 500.slim ├── results.slim ├── layout.slim └── index.slim ├── .gitignore ├── .travis.yml ├── README.md ├── genevalidatorapp.gemspec └── Rakefile /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.2 -------------------------------------------------------------------------------- /test/empty_config.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/web_files/json/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config.ru: -------------------------------------------------------------------------------- 1 | require 'genevalidatorapp' 2 | GeneValidatorApp.init 3 | run GeneValidatorApp 4 | -------------------------------------------------------------------------------- /lib/genevalidatorapp/version.rb: -------------------------------------------------------------------------------- 1 | module GeneValidatorApp 2 | VERSION = '2.1.8'.freeze 3 | end 4 | -------------------------------------------------------------------------------- /test/database/funky_ids/funky_ids.fa.nsi: -------------------------------------------------------------------------------- 1 | m @ m 4 >123#4562 -------------------------------------------------------------------------------- /public/web_files/img/gene.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/public/web_files/img/gene.png -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gemspec 4 | 5 | gem 'passenger', '~>5.3.4' 6 | gem 'genevalidator', '2.1.5' 7 | -------------------------------------------------------------------------------- /public/web_files/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/public/web_files/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /test/database/funky_ids/funky_ids.fa.nhr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/test/database/funky_ids/funky_ids.fa.nhr -------------------------------------------------------------------------------- /test/database/funky_ids/funky_ids.fa.nin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/test/database/funky_ids/funky_ids.fa.nin -------------------------------------------------------------------------------- /test/database/funky_ids/funky_ids.fa.nog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/test/database/funky_ids/funky_ids.fa.nog -------------------------------------------------------------------------------- /test/database/funky_ids/funky_ids.fa.nsq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/test/database/funky_ids/funky_ids.fa.nsq -------------------------------------------------------------------------------- /public/web_files/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/public/web_files/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /public/web_files/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/public/web_files/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /public/web_files/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/public/web_files/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /test/database/without_parse_seqids/without_parse_seqids.fa.phr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/test/database/without_parse_seqids/without_parse_seqids.fa.phr -------------------------------------------------------------------------------- /test/database/without_parse_seqids/without_parse_seqids.fa.pin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/test/database/without_parse_seqids/without_parse_seqids.fa.pin -------------------------------------------------------------------------------- /test/database/funky_ids/funky_ids.fa.nsd: -------------------------------------------------------------------------------- 1 | 123#4562 2 | 123456#3 3 | abc#def1 4 | abcdef#0 5 | lcl|123#4562 6 | lcl|1234564 7 | lcl|123456#3 8 | lcl|abc#def1 9 | lcl|abcdef#0 10 | -------------------------------------------------------------------------------- /test/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.phr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/test/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.phr -------------------------------------------------------------------------------- /test/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/test/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pin -------------------------------------------------------------------------------- /test/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/test/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pog -------------------------------------------------------------------------------- /test/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.psi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/test/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.psi -------------------------------------------------------------------------------- /test/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nhr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/test/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nhr -------------------------------------------------------------------------------- /test/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/test/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nin -------------------------------------------------------------------------------- /test/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/test/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nog -------------------------------------------------------------------------------- /test/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nsi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/test/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nsi -------------------------------------------------------------------------------- /test/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nsq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wurmlab/genevalidatorapp/HEAD/test/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nsq -------------------------------------------------------------------------------- /views/500.slim: -------------------------------------------------------------------------------- 1 | .alert.alert-danger role="alert" 2 | h3.error_header Oops! Something went Wonky! 3 | p Apologies, there was an error with your request. Please try again. 4 | p Error Message: #{request.env['sinatra.error'].message} 5 | p If the error persists, please contact the administrator. -------------------------------------------------------------------------------- /test/database/funky_ids/funky_ids.fa: -------------------------------------------------------------------------------- 1 | >abcdef# 2 | GATGAACGCTGGCGGCGTGCCTAATACATGCAAGTCGAG 3 | >abc#def 4 | GATGAACGCTGGCGGCGTGCCTAATACATGCAAGTCGAG 5 | >123#456 6 | GATGAACGCTGGCGGCGTGCCTAATACATGCAAGTCGAG 7 | >123456# 8 | GATGAACGCTGGCGGCGTGCCTAATACATGCAAGTCGAG 9 | >123456 10 | GATGAACGCTGGCGGCGTGCCTAATACATGCAAGTCGAG 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.gem 2 | *.rbc 3 | .bundle 4 | .config 5 | .yardoc 6 | .DS_Store 7 | Gemfile.lock 8 | InstalledFiles 9 | _yardoc 10 | coverage 11 | doc/ 12 | lib/bundler/man 13 | pkg 14 | rdoc 15 | spec/reports 16 | test/tmp 17 | test/version_tmp 18 | tmp 19 | *.bundle 20 | *.so 21 | *.o 22 | *.a 23 | mkmf.log 24 | .DS_Store 25 | passenger* -------------------------------------------------------------------------------- /test/database/without_parse_seqids/without_parse_seqids.fa.psq: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /test/database/without_parse_seqids/without_parse_seqids.fa: -------------------------------------------------------------------------------- 1 | >SI2.2.0_06267 locus=Si_gnF.scaffold02592[1282609..1284114].pep_2 quality=100.00 2 | MNTLWLSLWDYPGKLPLNFMVFDTKDDLQAAYWRDPYSIPLAVIFEDPQPISQRLIYEIR 3 | TNPSYTLPPPPTKLYSAPISCRKNKTGHWMDDILSIKTGESCPVNNYLHSGFLALQMITD 4 | ITKIKLENSDVTIPDIKLIMFPKEPYTADWMLAFRVVIPLYMVLALSQFITYLLILIVGE 5 | KENKIKEGMKMMGLNDSVF 6 | >SI2.2.0_13722 locus=Si_gnF.scaffold06207[1925625..1928536].pep_1 quality=100.00 7 | MSANRLNVLVTLMLAVALLVTESGNAQVDGYLQFNPKRSAVSSPQKYCGKKLSNALQIIC 8 | DGVYNSMFKKSGQDFPPQNKRHIAHRINGNEEESFTTLKSNFLNWCVEVYHRHYRFVFVS 9 | EMEMADYPLAYDISPYLPPFLSRARARGMLDGRFAGRRYRRESRGIHEECCINGCTINEL 10 | TSYCGP 11 | -------------------------------------------------------------------------------- /lib/genevalidatorapp/logger.rb: -------------------------------------------------------------------------------- 1 | require 'logger' 2 | 3 | module GeneValidatorApp 4 | class Logger < Logger 5 | def initialize(dev, verbose = false) 6 | super dev 7 | self.level = verbose ? DEBUG : INFO 8 | self.formatter = Formatter.new 9 | end 10 | 11 | # We change Logging format so that it is consistent with Sinatra's 12 | class Formatter < Formatter 13 | Format = "[%s] %s %s\n".freeze 14 | 15 | def initialize 16 | self.datetime_format = '%Y-%m-%d %H:%M:%S' 17 | end 18 | 19 | def call(severity, time, _progname, msg) 20 | format(Format, format_datetime(time), severity, msg2str(msg)) 21 | end 22 | end 23 | end 24 | end 25 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - "2.2.10" 4 | - "2.3.7" 5 | - "2.4.4" 6 | - "2.5.1" 7 | before_install: 8 | # Install MAFFT 9 | - mkdir dependencies 10 | - mkdir dependencies/mafft 11 | - curl -L --fail https://mafft.cbrc.jp/alignment/software/mafft-7.397-linux.tgz | tar -xzf - --strip-components=1 -C dependencies/mafft 12 | - MAFFT_DIR="$PWD/dependencies/mafft/mafftdir" 13 | - MAFFT_BINARIES="${MAFFT_DIR}/libexec"; export MAFFT_BINARIES; 14 | # BLAST 15 | - mkdir dependencies/blast 16 | - curl -L --fail https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.7.1/ncbi-blast-2.7.1+-x64-linux.tar.gz | tar -xzf - --strip-components=1 -C dependencies/blast 17 | - BLAST_BIN="$PWD/dependencies/blast/bin" 18 | - export PATH=${MAFFT_DIR}/bin:${BLAST_BIN}:$PATH 19 | script: bundle exec rake test 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GeneValidatorApp 2 | [](https://travis-ci.org/wurmlab/genevalidatorapp) 3 | [](http://badge.fury.io/rb/genevalidatorapp) 4 | [](https://scrutinizer-ci.com/g/wurmlab/genevalidatorapp/?branch=master) 5 | 6 | 7 | ## Introduction 8 | 9 | This repository is part of the GeneValidator Package and is used internally by GeneValidator - Please see [https://github.com/wurmlab/genevalidator](https://github.com/wurmlab/genevalidator) for more information. 10 | 11 | 12 |
This may take some time. Please leave this page open.
11 |