Skip to content

Instantly share code, notes, and snippets.

Avatar

Markus J. Ankenbrand iimog

  • University Hospital Würzburg
  • Würzburg
  • Twitter @IIMOG
View GitHub Profile
@iimog
iimog / pareto-bm-noodling.R
Created Nov 5, 2021 — forked from willpearse/pareto-bm-noodling.R
Distributions of body mass noodling for sDevTraits
View pareto-bm-noodling.R
# Rough-and-ready body-mass/species-number estimation in mammals and birds
# Will Pearse - 2021-09-19
##########################
# Load data ##############
##########################
library(caper)
library(ape)
library(Pareto)
View out.json
{
"conf": {
"circular": {
"tickSize": 5
},
"features": {
"fallbackStyle": {
"color": "#787878",
"form": "rect",
"height": 30,
@iimog
iimog / extract_protraits.pl
Created Apr 18, 2018
Perl script to combine multiple columns from the protraits table to a single categorical traitType for FENNEC
View extract_protraits.pl
#!/usr/bin/perl
# USAGE: perl extract_traits.pl <ProTraits_binaryIntegrated_File> <columns ...>
# EXAMPLE: perl extract_traits.pl ProTraits_binaryIntegratedPr0.90.txt 275 276 277 292 >oxygenreq.tsv
use strict;
use warnings;
my $file = shift(@ARGV);
my @columns = @ARGV;
@iimog
iimog / FENNEC_Individual_CLA
Created Sep 14, 2017
Individual Contributor License Agreement for FENNEC
View FENNEC_Individual_CLA
###Individual Contributor License Agreement
Thank you for Your interest in FENNEC. This document clarifies the terms under which You, the person signing this agreement, may make Contributions — which may include without limitation, software, bug fixes, configuration changes, documentation, or any other materials — to the FENNEC project.
Please read this agreement carefully. If You have questions about these terms, please contact us via [GitHub](https://github.com/molbiodiv/fennec).
You accept and agree to the following terms and conditions for Your present and future Contributions submitted to FENNEC. Except for the license granted herein to Us, You reserve all right, title, and interest in and to Your Contributions.
**Licenses**
@iimog
iimog / extract_scales_bee_traits_from_html.py
Created Aug 23, 2017
A python script (using beautiful soup) to extract bee traits from the html pages at http://scales.ckff.si/scaletool/?menu=6&submenu=3 and save as FENNEC compatible tsv files
View extract_scales_bee_traits_from_html.py
# coding: utf-8
from bs4 import BeautifulSoup
import glob
trait_types = dict()
trait_values_numeric = dict()
trait_values_categorical = dict()
general_citation = "Budrys, E., Budriene., A. and Orlovskyte. S. 2014. Cavity-nesting wasps and bees database."
View phinchFilterBug.biom
{
"id": "No Table ID",
"format": "Biological Observation Matrix 2.1.0",
"format_url": "http://biom-format.org",
"matrix_type": "sparse",
"generated_by": "BIOM-Format 2.1",
"date": "2017-04-11T17:40:40.014828",
"type": "OTU table",
"matrix_element_type": "float",
"shape": [3, 3],
View phinchDonutScale.biom
{
"id": "No Table ID",
"format": "Biological Observation Matrix 2.1.0",
"format_url": "http://biom-format.org",
"matrix_type": "sparse",
"generated_by": "BIOM-Format 2.1",
"date": "2016-05-03T08:13:41.848780",
"type": "OTU table",
"matrix_element_type": "float",
"shape": [3, 3],
View phinchSampleList.biom
{
"id": "No Table ID",
"format": "Biological Observation Matrix 2.1.0",
"format_url": "http://biom-format.org",
"matrix_type": "sparse",
"generated_by": "BIOM-Format 2.1",
"date": "2016-05-03T08:13:41.848780",
"type": "OTU table",
"matrix_element_type": "float",
"shape": [3, 3],
@iimog
iimog / phinchHideOTU.biom
Last active Jan 5, 2017
Minimal biom file to demonstrate [a bug](https://github.com/PitchInteractiveInc/Phinch/issues/69) in Phinch.
View phinchHideOTU.biom
{
"id": "No Table ID",
"format": "Biological Observation Matrix 2.1.0",
"format_url": "http://biom-format.org",
"matrix_type": "sparse",
"generated_by": "BIOM-Format 2.1",
"date": "2016-05-03T08:13:41.848780",
"type": "OTU table",
"matrix_element_type": "float",
"shape": [3, 3],
View rich_dense.biom
{
"id":null,
"format": "Biological Observation Matrix 0.9.1-dev",
"format_url": "http://biom-format.org/documentation/format_versions/biom-1.0.html",
"type": "OTU table",
"generated_by": "QIIME revision 1.4.0-dev",
"date": "2011-12-19T19:00:00",
"rows":[
{"id":"GG_OTU_1", "metadata":{"taxonomy":["k__Bacteria", "p__Proteobacteria", "c__Gammaproteobacteria", "o__Enterobacteriales", "f__Enterobacteriaceae", "g__Escherichia", "s__"]}},
{"id":"GG_OTU_2", "metadata":{"taxonomy":["k__Bacteria", "p__Cyanobacteria", "c__Nostocophycideae", "o__Nostocales", "f__Nostocaceae", "g__Dolichospermum", "s__"]}},