git branch -f X origin/X
See : http://stackoverflow.com/questions/5667884/how-to-squash-commits-in-git-after-they-have-been-pushed
sudo apt-get install libtool | |
git clone git://dnaa.git.sourceforge.net/gitroot/dnaa/dnaa dnaa-git | |
cd dnaa-git | |
# bfast required. see above gist | |
cp -r ../bfast-git ./bfast | |
# samtools require. see above gist. | |
cp -r ../samtools-svn/ ./samtools | |
sh autogen.sh && ./configure && make && sudo make install |
export BATCH1="1094PC0005 1094PC0009 1094PC0012 1094PC0013 " | |
export BATCH2="1094PC0016 1094PC0017 1094PC0018 1094PC0019 \ | |
1094PC0020 1094PC0021 1094PC0022 1094PC0023 1094PC0025 " | |
export BATCH3="1478PC0001B 1478PC0002 1478PC0003 1478PC0004 \ | |
1478PC0005 1478PC0006B 1478PC0007B 1478PC0008B \ | |
1478PC0009B 1478PC0010 1478PC0011 1478PC0012 \ | |
1478PC0013B 1478PC0014B 1478PC0015B 1478PC0016 \ | |
1478PC0017B 1478PC0018 1478PC0019 1478PC0020 \ | |
1478PC0021 1478PC0022B 1478PC0023B 1478PC0024B" | |
export BATCH4="1719PC0001 1719PC0002 1719PC0003 1719PC0004 \ |
########################################## | |
# Step 0. setup a list of sample names. | |
# Assume that each of your gzipped | |
# FASTQ files is named as follows: | |
# sample1.1.fq.gz | |
# sample1.2.fq.gz | |
# sample2.1.fq.gz | |
# sample2.2.fq.gz | |
# ... | |
# sampleN.1.fq.gz |
git branch -f X origin/X
See : http://stackoverflow.com/questions/5667884/how-to-squash-commits-in-git-after-they-have-been-pushed
/* | |
* Copyright 2014 MyBatis.org. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
[alias] | |
random = !"git add -A; git commit -am \"$(echo $(curl -s http://whatthecommit.com/index.txt)\" (http://whatthecommit.com)\")\"; git pull --rebase; git push" |
/* | |
Written by Peter O. | |
Any copyright to this work is released to the Public Domain. | |
In case this is not possible, this work is also | |
licensed under Creative Commons Zero (CC0): | |
https://creativecommons.org/publicdomain/zero/1.0/ | |
*/ |
/* | |
Tired of scrolling to one of the last photos on the page on Instagram? Let your | |
browser do the scrolling for you! | |
31-05-2017 | |
(c) 2017 - Loran Kloeze - loran@ralon.nl | |
Usage | |
- Go to https://www.instagram.com/instagram_handle/ (change instagram_handle in i.e. taylorswift) | |
- Open up the console (F12) (Firefox users: type 'allow pasting' if you haven't done so yet) | |
- Select the contents of this complete file and copy/paste it to the console and hit enter |
/Applications/Utilities/Terminal.app
NCBI blastp seems to have a bug where it reports different top hits when -max_target_seqs is changed. This is a serious problem because the first 20 hits (for example) should be the same whether -max_target_seqs 100 or -max_target_seqs 500 is used.
The bug is reproducible on the command line when searching NCBI's nr blast database (dated 25-Nov-2015) using NCBI 2.2.28+, 2.2.30+ and 2.2.31+.
At first I thought it was something to do with my local exe/blastdb, but the same problem is also apparent on the NCBI blastp web interface (as of 30-Nov-2015)