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
0x0E1c33d8901a9aa09501Bb6968583eE315b43345 |
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
0x78b5E5595830ACEE4bbDbA4eFCFF8b908967014d |
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
# Count SNPs by type | |
SELECT | |
reference_bases, | |
alternate_bases AS allele, | |
COUNT(alternate_bases) AS num_snps | |
FROM | |
[google.com:biggene:1000genomes.variants1kG] | |
WHERE | |
vt ='SNP' | |
GROUP BY |
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
#include <iostream> | |
#include <vector> | |
#include <utility> | |
#include <algorithm> | |
#include <time.h> | |
#include <sys/time.h> | |
using namespace std; | |
double dists_get(const vector<double>& x,const vector<double>& y) { |
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
package main | |
import "fmt" | |
func main() { | |
fmt.Printf("Hello, World\n") | |
} |
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
from Bio import Entrez | |
Entrez.email = "Your email address" | |
handle = Entrez.esearch(db="nucleotide", retmax=10, term="cancer") | |
record = Entrez.read(handle) | |
handle.close() | |
record["Count"] >= 2 | |
True | |
"156535671" in record["IdList"] | |
True | |
"156535673" in record["IdList"] |