Skip to content

Instantly share code, notes, and snippets.

View ghuertaramos's full-sized avatar

Guillermo Huerta Ramos ghuertaramos

View GitHub Profile
Referencias:
2/9
Díaz-Pontones, D.M 2009, Ipomoea: un genero con tradicion., ContactoS 73,36–44
Fotos:andrscervantes, Fernanda Familiar
3/9
Muñoz-Rodríguez, P., Carruthers, T., Wood, J.R.I., Williams, B.R.M., Weitemier, K., Kronmiller, B., Ellis, D., Anglin, N.L., Longway, L., Harris, S.A., et al. (2018). Reconciling Conflicting Phylogenies in the Origin of Sweet Potato and Dispersal to Polynesia. Current Biology. Available at:http://linkinghub.elsevier.com/retrieve/pii/S096098221830321X
Srisuwan, S., Sihachakr, D., & Siljak-Yakovlev, S. (2006). The origin and evolution of sweet potato (Ipomoea batatas Lam.) and its wild relatives through the cytogenetic approaches. Plant Science, 171(3), 424-433.
Vela, Enrique (editor), “Palma de coyol real (Acrocomia mexicana) y Camote (Ipomoea batatas)”, Arqueología Mexicana, edición especial núm. 84, pp. 68-69.
Fotos: matteocassella human_ecologist
@ghuertaramos
ghuertaramos / PlantPhylomoji.R
Last active October 23, 2023 00:22
Script to make a plant phylogeny using emojis
library(ggplot2)
library(ggtree)
library(emojifont)
tree_text <- "(evergreen_tree,(avocado,((tulip, ( palm_tree, ( banana, ( pineapple, (corn, ( tanabata_tree, ear_of_rice )))))),((grapes, (((peanuts, shamrock), ((( rose, strawberry ), ((apple, pear ), ( peach, (cherry_blossom, cherries) ))), (chestnut, (jack_o_lantern, (watermelon, (cucumber, melon)))))), (hibiscus, (( tangerine, lemon ), (maple_leaf))))),(cactus, (kiwi_fruit, ((sweet_potato, (hot_pepper, (eggplant, (potato, tomato)))), (carrot,(sunflower, blossom)))))))));"
x <- read.tree(text=tree_text)
ggtree(x, layout="circular") +
xlim(NA, 13) + ylim(NA, 39) +
geom_tiplab(aes(color=label), parse='emoji', size=6, vjust=0.5, hjust = 0.5, offset = 0.6) +
@ghuertaramos
ghuertaramos / getAAsecs.sh
Last active February 28, 2017 02:44
Script to count aminoacids from a protein sequence
#! /bin/bash
##Este script cuenta el número de aminoácidos que contiene una serie de proteínas definidas por el usuario
##This script counts aminoacids from a series of proteins defined by the user
#Requiere de un archivo de entrada "input.txt" que contenga las claves NCBI separados por espacios (p.ej. AAA84121.1 BAA83246.1)
#It requires an input file "input.txt" containing NCBI keys saparated by spaces for the desired proteins (e.g. AAA84121.1 BAA83246.1)
#Genera un directorio de trabajo
#Generates a working directory
mkdir Amino
#Baja las secuencias en formato fasta y genera archivos intermedios que contienen sólo la secuencia de aminoácidos
#Downloads sequences in fasta format then it generates intermediate files containing only aminoacid sequences