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 python3 | |
import os | |
import csv | |
import argparse | |
parser = argparse.ArgumentParser(description='Process output from Mash') | |
parser.add_argument('-i', '--input', help='input file', metavar='FILE', required=True) | |
parser.add_argument('-o', '--output', help='output file', metavar='FILE' ) | |
parser.add_argument('-a', '--alias', help='alias file', metavar='FILE' ) | |
parser.add_argument('-n', '--nearness', help='invert distance',action="store_true" ) |
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
if [ "`tail -c 28 /path/to/your.bam`" != "`echo -n -e '\x1f\x8b\x08\x04\x00\x00\x00\x00\x00\xff\x06\x00\x42\x43\x02\x00\x1b\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00'`" ]; then echo 'File Truncated'; else echo 'File Good!'; fi |
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
import random | |
import argparse | |
parser = argparse.ArgumentParser( description="https://www.youtube.com/watch?v=7S94ohyErSw&t=90") | |
parser.add_argument("-t", "--tests", default=50, type=int, help='The number of tests to average') | |
parser.add_argument("-tp", "--true_positives", required=True, type=int, help='The actual number of True Positives') | |
parser.add_argument("-tn", "--true_negatives", required=True, type=int, help='The actual number of True Negatives (Total things - True Positives)') | |
parser.add_argument("-tpa", "--true_positives_A", required=True, type=int, help='True Positives tool A detects') | |
parser.add_argument("-fpa", "--false_positives_A", required=True, type=int, help='False Positives tool A detects') | |
parser.add_argument("-tpb", "--true_positives_B", required=True, type=int, help='True Positives tool B detects') |
OlderNewer