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 | |
CGAT | |
>2 | |
CGAT |
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
> ade fas df asdf asd f | |
POIQUWEOIRUQOIEWURPOQIWUERPOQIWUERPOIQUEWRPOIUEWQR |
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
// ========================================================================== | |
// mini_bowtie | |
// ========================================================================== | |
// Copyright (c) 2006-2012, Knut Reinert, FU Berlin | |
// All rights reserved. | |
#include <iostream> | |
#include <time.h> | |
#include <seqan/basic.h> | |
#include <seqan/sequence.h> |
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
#!/bin/bash | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
FIX=$DIR/fix_sam.py | |
# Global variables for reference REF and SAM alignment. | |
REF= | |
SAM= | |
# Whether or not verbose mode is enabled. | |
VERBOSE= |
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 python | |
import sys | |
def splitCigar(cigar): | |
result = [] | |
count = '' | |
operation = '' | |
for x in cigar: | |
if x not in '0123456789': |
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
// A simple thread-safe queue implementation based on std::list<>::splice | |
// after a tip in a talk by Sean Parent of Adobe. | |
// | |
// Uses standard library threading and synchronization primitives together | |
// with a std::list<> container for implementing a thread-safe queue. The | |
// only special thing is that the queue uses std::list<>::splice in the | |
// locked region to minimize locked time. | |
// | |
// Also implements a maximal size and can thus be used as a buffer between | |
// the elements in a pipeline with limited buffer bloat. |
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
#!/bin/sh | |
git filter-branch --env-filter ' | |
an="$GIT_AUTHOR_NAME" | |
am="$GIT_AUTHOR_EMAIL" | |
cn="$GIT_COMMITTER_NAME" | |
cm="$GIT_COMMITTER_EMAIL" | |
if [ "$GIT_COMMITTER_EMAIL" = "[email protected]" ] |
NewerOlder