Skip to content

Instantly share code, notes, and snippets.

@crosenth
Created January 8, 2013 19:14
Show Gist options
  • Save crosenth/4486964 to your computer and use it in GitHub Desktop.
Save crosenth/4486964 to your computer and use it in GitHub Desktop.
Ungapatchka subcommand template
"""
Short description here
"""
import sys
from ungapatchka.utils import Opener
def build_parser(parser):
parser.add_argument('in',
nargs = '?',
default = sys.stdin,
type = Opener('r'),
help = 'fasta file')
parser.add_argument('-o', '--out',
default = sys.stdout,
type = Opener('w'),
help = 'ouput file')
def action(args):
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment