This file has been truncated, but you can view the full 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
Protocol REF: 274551 | |
Term Source REF: 273526 | |
Term Accession Number: 73346 | |
Material Type: 52949 | |
Source Name: 42088 | |
Extract Name: 41954 | |
Comment [ArrayExpress FTP file]: 35389 | |
Array Data File: 35361 | |
Array Design REF: 35327 | |
Label: 35300 |
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
all_symbols = ['A', 'AA', 'AABA', 'AAC', 'AAL', 'AAME', 'AAN', 'AAOI', 'AAON', 'AAP', 'AAPL', 'AAT', 'AAV', 'AAWW', 'AAXJ', 'AAXN', 'AB', 'ABAC', 'ABAX', 'ABB', 'ABBV', 'ABC', 'ABCB', 'ABCD', 'ABDC', 'ABEO', 'ABEOW', 'ABEV', 'ABG', 'ABIL', 'ABIO', 'ABLX', 'ABM', 'ABMD', 'ABR', 'ABRN', 'ABR^A', 'ABR^B', 'ABR^C', 'ABT', 'ABTX', 'ABUS', 'ABX', 'AC', 'ACAD', 'ACBI', 'ACC', 'ACCO', 'ACER', 'ACERW', 'ACET', 'ACFC', 'ACGL', 'ACGLO', 'ACGLP', 'ACH', 'ACHC', 'ACHN', 'ACHV', 'ACIA', 'ACIU', 'ACIW', 'ACLS', 'ACM', 'ACMR', 'ACN', 'ACNB', 'ACOR', 'ACP', 'ACRE', 'ACRS', 'ACRX', 'ACSF', 'ACST', 'ACT', 'ACTG', 'ACV', 'ACWI', 'ACWX', 'ACXM', 'ADAP', 'ADBE', 'ADC', 'ADES', 'ADI', 'ADM', 'ADMA', 'ADMP', 'ADMS', 'ADNT', 'ADOM', 'ADP', 'ADRA', 'ADRD', 'ADRE', 'ADRO', 'ADRU', 'ADS', 'ADSK', 'ADSW', 'ADT', 'ADTN', 'ADUS', 'ADVM', 'ADX', 'ADXS', 'ADXSW', 'AEB', 'AED', 'AEE', 'AEG', 'AEGN', 'AEH', 'AEHR', 'AEIS', 'AEK', 'AEL', 'AEM', 'AEMD', 'AEO', 'AEP', 'AER', 'AERI', 'AES', 'AET', 'AETI', 'AEUA', 'AEY', 'AEZS', 'AFAM', 'AFB', 'AFC |
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
Comment[ArrayExpressAccession]: 43269 | |
SDRF File: 43245 | |
Investigation Title: 43241 | |
Person Last Name: 43233 | |
Experiment Description: 43173 | |
Person Roles: 43026 | |
Person First Name: 42993 | |
Protocol Name: 42977 | |
Protocol Type: 42953 | |
Protocol Description: 42945 |
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
Organism: 24155 | |
organism: 23820 | |
organism part: 14299 | |
cell type: 10462 | |
genotype: 8876 | |
age: 7687 | |
strain: 7215 | |
cell line: 6882 | |
sex: 5244 | |
developmental stage: 3943 |
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
"events": [{ | |
"function": "bot.main", | |
"expression": "rate(1 minute)" | |
}] |
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
video_url = "https://www.youtube.com/watch?v=" + video_id | |
reply_body = "**[YouTube Mirror](" + video_url + ")**.\n\n_Reddit2YouTube Bot by miserlou, who hates the new reddit video player._" | |
submission.reply(reply_body) | |
print("Posted to: " + submission.url) |
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
print("Starting upload..") | |
title = s_title + ' - by u/' + submission.author.name + " to " + submission.subreddit.url | |
description = "Originally posted to " + submission.url + ". This video is uploaded by a bot for the convenience of mobile reddit users. Sorry about your copyright." | |
output = subprocess.check_output([ "/usr/bin/python2.7", | |
"youtube-upload/bin/youtube-upload", | |
outfile, | |
"--title", | |
title, | |
"--client-secrets", |
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
def process_submission(submission): | |
""" """ | |
## | |
# Filter | |
## | |
if submission.over_18: | |
print("No porno!") | |
return |
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
def main(): | |
""" """ | |
reddit = praw.Reddit(user_agent='Reddit2YouTubeBot (by /u/miserlou)', | |
client_id='your_client_id', | |
client_secret='your_client_id', | |
username='YourReddit2YouTubeBot', | |
password='your_reddit_to_youtube_bot_password' | |
) | |
for submission in reddit.domain('v.redd.it').new(): |
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 | |
import subprocess | |
import os | |
import time | |
from nodb import NoDB | |
nodb = NoDB() | |
nodb.bucket = "your_r2yt_bucket" | |
nodb.index = "id" |