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
#!/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]" ] |
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
// 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 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 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 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 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 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 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 | |
set -e | |
set -x | |
# Source Mercurial repository: http://lemon.cs.elte.hu/hg/lemon | |
# Target Github repository: https://github.com/seqan/lemon-mirror | |
# The following is based on the following Stack Overflow help post: | |
# |
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
; INI file with default data sources for Jannovar. | |
; | |
; This file is packed into the Jannovar JAR file. | |
; | |
; Each data source is described in one section. By convention, the section | |
; and data source name is given as "${organism}/${source}". Jannovar will | |
; serialize the file to "${name}.replace('/', '_').replace("\", "_"). | |
; | |
; Users can provide their own INI files using the --data-source parameter | |
; to Jannovar, even orriding the defaults from this 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
#!/bin/bash | |
set -euo pipefail | |
BAM= | |
OUT= | |
print_help() | |
{ | |
>&2 echo "USAGE: extract_bam.sh -i IN.bam -o OUT_PREFIX {REGIONS}+" |
OlderNewer