Skip to content

Instantly share code, notes, and snippets.

View rossmounce's full-sized avatar
🏠
Working from home

Ross Mounce rossmounce

🏠
Working from home
View GitHub Profile
@rossmounce
rossmounce / 172 two & three letter genus names
Created September 19, 2015 15:11
List of two or three letter genus names, thanks to Paul Kirk [TAXACOM] http://mailman.nhm.ku.edu/pipermail/taxacom/2007-January/061176.html
Aa
Ada
Age
Aha
Aix
Aka
Ala
Anx
Aon
Ara
4334;Abbotsbury Subtropical Gardens;Bullers Way;Abbotsbury;Weymouth;Dorset;;United Kingdom;50.662224;-2.629523
4888;Abby Aldrich Rockefeller Garden;Private;;Seal Harbor;Maine;04675;United States of America;44.303333;-68.240278
4426;Abkhazi Garden;1964 Fairfield Road;;Victoria;British Columbia;V8S 1H4;Canada;48.415687;-123.32619
5062;ABQ BioPark;2601 Central NW;;Albuquerque;New Mexico;87104;United States of America;35.093028;-106.679323
4921;Abubakar Tafawa Balewa University Garden;Ran Road;;;Bauchi;;Nigeria;10.32736;9.84636
3331;Abuja Gardens;;;Abuja;Abuja;;Nigeria;9.0580;7.4890
1246;Aburi Botanic Gardens;PO Box 23, ABURI, Akwiapim, Ghana.;P.O.Box M169 Accra Ghana;Aburi;;;Ghana;5.8469;-0.1755
53;Acharya Jagadish Chandra Bose Indian Botanic Garden;Botanical Survey of India;Shibpur;Howrah;West Bengal;711 103;India;22.6507;88.2658
757;Adam Mickiewicz University Botanical Garden in Poznań;Dąbrowskiego 165, 60-594 POZNAŃ, Poland.;;Poznań;;;Poland;52.4063;16.9251
1233;Adkins Arboretum;12610 Eveland Road;;Ridgely;
@rossmounce
rossmounce / wordles.r
Last active December 10, 2015 13:58 — forked from sckott/beswordles.r
#N.B. On *ubuntu RCurl may not install for you off the bat. If so read: http://www.omegahat.org/RCurl/FAQ.html & sudo apt-get install libcurl4-openssl-dev
install.packages(c("RCurl","twitteR","wordcloud","tm","stringr"))
library(twitteR); library(wordcloud); library(tm); library(stringr);
# Search for #mooc tweets
mooctweets <- searchTwitter("#mooc", n=2000)
length(mooctweets) # ends up with 713 as of 03-Jan-13 at 15:42 London time
# make into a data.frame
mooctweets_df <- twListToDF(mooctweets)
@rossmounce
rossmounce / grep_references.sh
Last active December 20, 2015 09:58
A grep command for all the different Reference List headings encountered in just two years worth of Zootaxa articles. Some post-publication standardization needed me thinks!
egrep "(^Citations$|Cited Literature$|Literature [cC]ited$|Literatures cited$|Literature Cited\:$|References$|^references$|Refrences$|References [cC]ited$|REFERENCES$|Bibliography$|BIBLIOGRAPHY$|LITERATURE CITED$|LITERATURE cited$|REFERENCES CITED$|References \[not in Zootaxa format\]$|^Reference$|^Literature$|^References \(asterisks|^References \(except original descriptions|Litterature cited$|Literture Cited$)"
@rossmounce
rossmounce / Trees2Trees
Created August 12, 2013 16:59
A _really_ basic script for doing many-to-many tree2tree distance (RF) comparisons in R, using the phangorn package and the function treedist. I should probably use one of the 'apply' functions here, right?
library(phangorn)
#264 REFERENCE trees in phylip format, PAUP numbering hence 2
ref2 <- read.tree("jackr2.tre")
#264 trees in phylip format to pair-wise compare to the reference trees, TNT numbering hence 1
tr2 <- read.tree("jack1.tre")
x <- {}
#all reference trees to one comp tree
for (i in 1:length(tr2)) {
(Psychromonas_antarctica,((((Escherichia_coli,(Klebsiella_pneumoniae,Klebsiella_variicola,Klebsiella_oxytoca,Klebsiella_granulomatis),(Serratia_marcescens,Serratia_entomophila,Serratia_ficaria,Serratia_fonticola,Serratia_plymuthica,Serratia_rubidaea,Serratia_liquefaciens),Kluyvera_ascorbata,(Raoultella_ornithinolytica,Raoultella_planticola,Raoultella_terrigena),Brenneria_salicis,Kosakonia_cowanii,Pluralibacter_pyrinus,Pantoea_agglomerans,(Enterobacter_aerogenes,(Enterobacter_cancerogenus,Enterobacter_asburiae),Enterobacter_mori),(Lelliottia_amnigena,Lelliottia_nimipressuralis),(Citrobacter_gillenii,Citrobacter_freundii),Obesumbacterium_proteus,Yersinia_pestis,Cedecea_davisae,Salmonella_enterica,(Dickeya_chrysanthemi,Dickeya_dadantii),Plesiomonas_shigelloides),((Vibrio_proteolyticus,Vibrio_neptunius,Vibrio_coralliilyticus,Vibrio_cholerae,Vibrio_agarivorans,Vibrio_diazotrophicus,Vibrio_vulnificus,Vibrio_gazogenes,Vibrio_alginolyticus),(Aliivibrio_fischeri,Aliivibrio_logei),(Photobacterium_aplysiae,Photobacteriu
@rossmounce
rossmounce / A list of plant genera
Created February 5, 2016 14:24
for a bug report
Aa
Aa
Aaronsohnia
Narthecium
Abarema
Abarema
Abarema
Abarema
Abarema
Abarema
@rossmounce
rossmounce / List with a blank
Created February 5, 2016 14:45
Example bad input for a bug report
Aa
Aa
Aaronsohnia
Narthecium
Abarema
Abarema
Abarema
Abarema
http://europepmc.org/articles/PMC3201773/bin/srep00090-s1.doc
http://europepmc.org/articles/PMC3210691/bin/srep00001-s1.pdf
http://europepmc.org/articles/PMC3210693/bin/srep00003-s1.pdf
http://europepmc.org/articles/PMC3216493/bin/srep00005-s1.pdf
http://europepmc.org/articles/PMC3216494/bin/srep00006-s1.pdf
http://europepmc.org/articles/PMC3216497/bin/srep00009-s1.doc
http://europepmc.org/articles/PMC3216498/bin/srep00010-s1.pdf
http://europepmc.org/articles/PMC3216501/bin/srep00013-s1.pdf
http://europepmc.org/articles/PMC3216503/bin/srep00015-s1.pdf
http://europepmc.org/articles/PMC3216504/bin/srep00016-s1.mov
http://europepmc.org/articles/PMC3253589/bin/srep00215-s1.doc
http://europepmc.org/articles/PMC3253854/bin/srep00217-s1.pdf
http://europepmc.org/articles/PMC3256565/bin/srep00220-s1.pdf
http://europepmc.org/articles/PMC3257325/bin/srep00222-s1.pdf
http://europepmc.org/articles/PMC3259129/bin/srep00227-s1.pdf
http://europepmc.org/articles/PMC3261443/bin/srep00229-s1.doc
http://europepmc.org/articles/PMC3261631/bin/srep00224-s1.pdf
http://europepmc.org/articles/PMC3262048/bin/srep00230-s1.pdf
http://europepmc.org/articles/PMC3262048/bin/srep00230-s2.mov
http://europepmc.org/articles/PMC3265565/bin/srep00232-s1.pdf