GithubHelp home page GithubHelp logo

angsbigd's Introduction

Angsd redo of bigd windowed popgen stats

Files

Assumes you have folder of bam files. In my case, these are on Farm at:

/group/jrigrp/hapmap2_bam/Disk3CSHL_bams_bwamem/

and are all named as LineName_LaneInfo.bam, e.g.

W22_FC6162CAAXX_4.bam

To run on different folder or different naming convention scripts will need to be modified.

To Run

  • First, run merge.sh to merge bamfiles. This is because ANGSD treats each bamfile as an individual.
  • Run trip.sh to make ancestral pseudo-fasta from Tripsacum
  • run angsdo to generate sfs, bedfile of thetas, and windowed TajD and other stats across region.

Angsdo is where you can modify things like min depth, uniqueness, base quality, but these are currently best guesses hardcoded into script.

Files

data:

TRIP* <- these are the ancestral fasta files used for the SFS. Needed even if you choose folded (why?)

data/*_list.txt <- lists of bamfiles to run on

results:

BKN_pest.arg <- arguments given to angsd BKN_pest.em.ml <- ML SFS BKN.arg <- arguments given to angsd BKN.bin BKN.idx <- generally not needed, for internal use BKN.pestPG <- theta values for each bp in genome BKN.thetas.gz <- theta values

temp:

BKN_pest.saf BKN_pest.saf.pos.gz <- not sure yet (priors for SFS etc.)

angsbigd's People

Contributors

rossibarra avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.