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 converter for LibreView exported data, can convert from European or USA output formats | |
import argparse | |
#TODO Setup argparse for changing conversion | |
#2018-13-1 | |
#Currently this script accepts a USA input from argument 1 and converts it to European format. | |
import sys |
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
#pipeline version of sci.py for better memory managment | |
import sys | |
import numpy as np | |
from tools.striper import stripe, cleanupfiles | |
from tools.tweetprocessor import clean, wordclean | |
from sklearn.naive_bayes import BernoulliNB |
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
#Accepts an accession number, returns protein sequences | |
from Bio import SeqIO | |
from Bio import Entrez | |
from Bio.Blast import NCBIWWW,NCBIXML | |
import argparse | |
from time import sleep | |
parser = argparse.ArgumentParser(description='Get aa sequence from accession number') | |
parser.add_argument('-an', '--accession', help='the accession number for the sequence') |
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
import praw | |
r = praw.Reddit(user_agent='comment_editor') | |
r.login('<username>', '<password>') | |
user = r.get_redditor('<username>') | |
comments = user.get_comments(limit = None) | |
i = 1 | |
for comment in comments: | |
print ('iterations: ' + str(i)) |
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
std::ostream& operator<< (std::ostream& os, const FsGridSquare& gs) | |
{ | |
std::stringstream ss; | |
/* Sample output | |
Note: @ denotes a blank space | |
--S:-0.32--E:@0.78-- | |
|@@@@@@@@@@@@@@@@@@| |