This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env perl -w | |
| use strict; | |
| use warnings; | |
| # Basic script to convert DCC output for SNPs to a VCF file capable of being | |
| # used for later analysis. More complex variants won't yet work, due to the need | |
| # for reference genome information which we don't get from the DCC output yet. | |
| # | |
| # Written to use minimal Perl dependencies. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var express = require('express'); | |
| var app = module.exports.app = express(); | |
| function logErrors(err, req, res, next) { | |
| console.error(err.stack); | |
| next(err); | |
| } | |
| function clientErrorHandler(err, req, res, next) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/perl -w | |
| =data | |
| db.data.drop(); | |
| db.data.insert({_id: "Food"}); | |
| db.data.insert({_id: "Fruit", parent: "Food"}); | |
| db.data.insert({_id: "Red", parent: "Fruit"}); | |
| db.data.insert({_id: "Cherry", parent: "Red"}); | |
| db.data.insert({_id: "Yellow", parent: "Fruit"}); | |
| db.data.insert({_id: "Banana", parent: "Yellow"}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/perl -w | |
| use strict; | |
| use Carp; | |
| use DBI; | |
| use File::Spec; | |
| use File::Path qw(make_path); | |
| use Getopt::Long; | |
| my ($verbose, $username, $password, $hostname, $tabs); |
NewerOlder