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
1. | |
===== | |
public class Fibo { | |
public static int fib(int n) { | |
if (n <= 2) return 1; | |
return fib(n-1) + fib(n-2); | |
} | |
} |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Phaser Test</title> | |
<script src="//cdn.jsdelivr.net/npm/phaser@3.19.0/dist/phaser.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/keypress/2.1.5/keypress.min.js"></script> | |
</head> | |
<body> |
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 time | |
class Hashable: | |
def __init__(self, value, hash_strategy): | |
self.value = value | |
self.hash_strategy = hash_strategy | |
def __eq__(self, other): | |
return self.value == other.value |
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 time | |
class Hashable: | |
def __init__(self, value): | |
self.value = value | |
def __eq__(self, other): | |
return self.value == other.value |
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
from abc import ABC, abstractmethod | |
class NA(ABC): | |
def __init__(self, sequence): | |
if self._check_sequence(sequence): | |
self.sequence = sequence | |
def _check_sequence(self, sequence: str): | |
valid_symbols = self._get_valid_symbols() |
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
def sheet_data(sheet): | |
out = list() | |
sheetIndex = 0 | |
for X in range(1, s.nrows): | |
learner = s.row_values(X) |
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
##fileformat=VCFv4.1 | |
##FILTER=<ID=PASS,Description="All filters passed"> | |
##fileDate=20150218 | |
##reference=ftp://ftp.1000genomes.ebi.ac.uk//vol1/ftp/technical/reference/phase2_reference_assembly_sequence/hs37d5.fa.gz | |
##contig=<ID=1,length=249250621,assembly=b37> | |
##contig=<ID=2,length=243199373,assembly=b37> | |
##contig=<ID=3,length=198022430,assembly=b37> | |
##contig=<ID=4,length=191154276,assembly=b37> | |
##contig=<ID=5,length=180915260,assembly=b37> | |
##contig=<ID=6,length=171115067,assembly=b37> |
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
chr1 19206 25958 | |
chr1 30624 38972 | |
chr1 104110 107779 | |
chr1 176202 177333 | |
chr1 363984 372016 | |
chr1 767746 776319 | |
chr2 55553 57603 | |
chr2 77749 80138 | |
chr2 193081 197187 | |
chr2 395473 410097 |
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
https://github.com/apache/incubator-airflow | |
https://github.com/ssadedin/bpipe | |
https://github.com/bloomreach/briefly | |
https://github.com/monajemi/clusterjob | |
https://github.com/tburdett/Conan2 | |
https://github.com/broadinstitute/cromwell | |
https://github.com/joergen7/cuneiform | |
https://github.com/googlegenomics/dockerflow | |
https://github.com/thieman/dagobah | |
https://github.com/Factual/drake |
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
# this should be the only path that you need to modify | |
BASE_PATH = "." | |
N_THREADS = 40 | |
# annotation stuff | |
IDX = BASE_PATH + "/index" | |
ANNO = BASE_PATH + "/annotation" | |
ANNO_PREFIX = "Homo_sapiens.GRCh38.80" |