create directory
mkdir -p .modulefiles/reference/human
create the module file .modulefiles/reference/human/GRCh37.75.lua
/** | |
Pierre Lindenbaum, 2019 | |
gcc -o a.out -O3 -Wall -Isamtools/include discordant.c -Lsamtools/lib -lhts | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <errno.h> | |
#include <string.h> |
#include <X11/Xlib.h> | |
#include <cstdio> | |
#include <cstdlib> | |
#include <cstring> | |
#include <string> | |
#include <vector> | |
#include <iostream> | |
#include <fstream> | |
#include <limits.h> | |
#include <unistd.h> |
create directory
mkdir -p .modulefiles/reference/human
create the module file .modulefiles/reference/human/GRCh37.75.lua
usage:
$ ls input.bed
$ java -jar dist/samjdk.jar --body -f biostar368754.code input.bam
echo -e '@HD\tVN:1.4\tSO:unsorted\n@SQ\tSN:2\tLN:243199373' > tmp.dict && \
java -jar dist/biostar336589.jar -a 60 -R tmp.dict <(grep -v Chr input.bed) > out.svg
<?xml version='1.0' encoding="UTF-8" ?> | |
<xsl:stylesheet | |
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' | |
xmlns:h='http://www.w3.org/1999/xhtml' | |
version='1.0'> | |
<xsl:output method="text"/> | |
<xsl:template match="/"> | |
<xsl:apply-templates select="//h:table[@summary='Global statistics']/h:tbody/h:tr"/> |
<?xml version='1.0' encoding="ISO-8859-1"?> | |
<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0' | |
> | |
<xsl:output method="text"/> | |
<xsl:template match="/"> | |
create table if not exists EXPERIMENT | |
( | |
id INTEGER PRIMARY KEY AUTOINCREMENT, | |
alias TEXT, | |
center_name TEXT, |
// ==UserScript== | |
// @description Display posts of a reddit user | |
// @grant none | |
// @include https://www.ncbi.nlm.nih.gov/pubmed* | |
// @name pubmed | |
// @namespace https://github.com/lindenb/greasemonkey | |
// ==/UserScript== | |
var array=[]; | |
var iter = document.evaluate("//p/a[starts-with(@href,'/pubmed?linkname=pubmed_pubmed&from_uid=') and text()='Similar articles']",document,null,XPathResult.UNORDERED_NODE_ITERATOR_TYPE, null); |
<?xml version='1.0' encoding="UTF-8" ?> | |
<xsl:stylesheet | |
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' | |
version='1.0' | |
> | |
<xsl:output method="xml" encoding="UTF-8"/> | |
<xsl:template match="*"> | |
<xsl:copy> |