This file contains 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
namespace :db do | |
namespace :mysql do | |
desc "Overwrite the whole development db with a copy of the production db" | |
task :init_dev do | |
config = YAML.load(IO.read("config/database.yml")) | |
d = config["development"] | |
p = config["production"] | |
unless d["adapter"] == "mysql" and |
This file contains 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 python3 | |
""" | |
Add sequences from a Fasta file to a GFA file. | |
""" | |
import argparse | |
import sys | |
import gfapy | |
op = argparse.ArgumentParser(description=__doc__) |