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 | |
''' | |
Generates full lineages for taxons in an ncbi nodes.dmp file | |
and optionally expands "no rank" ranks. | |
''' | |
import argparse | |
import sys | |
def get_args(): |
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 bash | |
csvfile=${@: -1} | |
head --lines 1 $csvfile && grep "$@" |
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
contributors = env.Command( | |
source='.git/logs/HEAD', | |
target='contributors.txt', | |
action=('git log --all --format="%cN <%cE>" | sort | uniq > $TARGET')) |
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 | |
import argparse | |
import sys | |
def get_args(): | |
parser = argparse.ArgumentParser() | |
parser.add_argument('arg1') | |
parser.add_argument('--option1') |
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
""" | |
Short description here | |
""" | |
import os | |
from bioscons.fileutils import Targets | |
from bioscons.slurm import SlurmEnvironment | |
from SCons.Script import ARGUMENTS, Variables, Decider |
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
""" | |
Short description here | |
""" | |
import sys | |
from ungapatchka.utils import Opener | |
def build_parser(parser): | |
parser.add_argument('in', |