Skip to content

Instantly share code, notes, and snippets.

@ilevantis
ilevantis / bedtools_cheatsheet.md
Last active April 10, 2024 19:12
Bedtools cheatsheet

Bedtools Cheatsheet

General:

Tools Description
flank Create new intervals from the flanks of existing intervals.
slop Adjust the size of intervals.
shift Adjust the position of intervals.
subtract Remove intervals based on overlaps b/w two files.
@hubgit
hubgit / pmc-open-access-eutils.txt
Last active June 3, 2019 14:26
Useful URLs for working with the PMC Open Access Subset via EUtils
Search PubMed for articles in the PMC Open Access Subset for which free full text (i.e. XML) is available:
http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&retmode=xml&term=pubmed+pmc+open+access%5Bfilter%5D+AND+free+full+text%5Bfilter%5D
Find the PMCID for an article by PMID:
http://eutils.ncbi.nlm.nih.gov/entrez/eutils/elink.fcgi?dbfrom=pubmed&db=pmc&retmode=xml&linkname=pubmed_pmc&id=24191168
Fetch full text article XML from PMC by PMCID:
http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pmc&id=3804407
A PMC article for which the full text XML is not available:
@arq5x
arq5x / acknowledgements.txt
Last active December 21, 2015 09:59
A collection of both popular and lesser known biographies, autobiographies and histories of scientific figures and their discoveries. Focused primarily on biology and genetics. This is largely a collection of responses to a query on twitter.
Thanks to @Adrian_H, @RoryKirchner, @genetics_blog,
@leonidkrugliak, @Graham_Coop, @yokofakun,
@pathogenomenick, @caseybergman, @Jalfoldi,
@Paul_R_Johnston, @gknoProject, @David_Dobbs,
@vsbuffalo, @robinhenig, @nccomfort,
@GholsonLyon, @notSoJunkDNA, @neilfws,
@rovingpencil, @rtraborn
In addition, please refer to Casey Bergman's collection of other books:
http://www.librarything.com/catalog/xylem&tag=genetics&collection=-1
@rodw
rodw / backup-github.sh
Last active June 4, 2024 16:06
A simple script to backup an organization's GitHub repositories, wikis and issues.
#!/bin/bash
# A simple script to backup an organization's GitHub repositories.
#-------------------------------------------------------------------------------
# NOTES:
#-------------------------------------------------------------------------------
# * Under the heading "CONFIG" below you'll find a number of configuration
# parameters that must be personalized for your GitHub account and org.
# Replace the `<CHANGE-ME>` strings with the value described in the comments
# (or overwrite those values at run-time by providing environment variables).