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
#[**************************************************************** | |
* Arturo | |
* | |
* Programming Language + Interpreter | |
* (c) 2019 Yanis Zafirópulos (aka Dr.Kameleon) | |
* | |
* @file: compiler.nim | |
*****************************************************************]# | |
import algorithm, math, os, parseutils, sequtils, strutils, tables |
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
PacBio::BAM::DataSet input; | |
std::vector<std::string> result; | |
for (const auto& bamFile : input.BamFiles()) | |
{ | |
std::string outFn = "..."; | |
PacBio::BAM::SubreadSet s{bamFile}; | |
s.Filters(input.Filters()); | |
s.Save(outFn); | |
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
This is my file. |
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
# vim: sw=2 ts=2 sts=2 tw=80 et: | |
from strutils import repeat, `%` | |
proc log*(msgs: varargs[string]) = | |
for s in msgs: | |
write(stderr, s) | |
write(stderr, '\L') | |
return | |
proc scan_i() = | |
const N = 31 |
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
import multiprocessing as M | |
import Queue | |
import time, sys | |
def go(x): | |
print 'hi-%s'%repr(x) | |
i = 0 | |
while True: | |
q.put('Q'*(1<<20)) | |
#q.put('put-%s-%d' %(x, i)) |
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
project := pbdagcon | |
sha := 70b4ecfa5b0ded0b0d2454c1d46895f618c82a02 | |
github_root_uri := https://github.com/Pacificbiosciences | |
src_clone_uri := ${github_root_uri}/${project}.git | |
build: | project-clone | |
cd project-clone; ${MAKE} project | |
project-clone: | |
git checkout --depth=0 ${src_clone_uri} $@ |