Code Monkey home page Code Monkey logo

tidy_gtex's Introduction

Tidy GTEx

Joshua Cook 2019-05-05

jhc github jhc twitter jhc website


This repository hold the Genotype-Tissue Expression (GTEx) project data in a tidy format for easy use with the R tidyverse.

“The Genotype-Tissue Expression (GTEx) project is an ongoing effort to build a comprehensive public resource to study tissue-specific gene expression and regulation. Samples were collected from 53 non-diseased tissue sites across nearly 1000 individuals, primarily for molecular assays including WGS, WES, and RNA-Seq. Remaining samples are available from the GTEx Biobank. The GTEx Portal provides open access to data including gene expression, QTLs, and histology images.”

Data

Latest download: May 5, 2019


Git Large File Storage

This repository uses git large file storage (“git-lfs”) in order to manage the large data files.

Installation

The instructions on installing git-lfs for Mac, Windows, and some linux distros are available on the git-lfs GitHub repo Wiki. Since I did this work remotely on the HMS Research Computing Cluster, I do not have root access and had to install from source.

  1. Download the source code of the latest release from here.
wget https://github.com/git-lfs/git-lfs/releases/download/v2.7.2/git-lfs-v2.7.2.tar.gz
  1. Build the binary using go build -o /path/to/dest/git-lfs, where /path/to/dest/git-lfs is the name of the directory you store your installed software in. This directory should be in your $PATH. For instance, I used ~/bin/git-lfs.
module load go
go build -o ~/bin/git-lfs

There should now be a file with the same path and name that you passed using the -o flag.

  1. Set up git-lfs in your git repository.
cd /path/to/my/git/repo
git lfs install
#> Updated git hooks.
#> Git LFS initialized.
  1. Declare which files to track.
git lfs track "*.bigfiles"
#> Tracking "really_big_file.bigfiles"
#> Tracking "so_big_such_wow.bigfiles"
#> Tracking "large_files_rock.bigfiles"

where "*.bigfiles" is the regular expression for large files in the repo.

  1. Track “.gitattributes”.
git add .gitattributes
git commit .gitattributes -m "start git-lfs"

You should now be able to add, commit, and push files like normal. Steps 1 and 2 only need to be done once per machine. Steps 3-5 need to be completed once per repository.

tidy_gtex's People

Contributors

jhrcook avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.