GithubHelp home page GithubHelp logo

asvdataprocessing's Introduction

Helper scripts to organise ASV data generated from Gallus gallus microbiota

Introduction

This repository contains several Python scripts that were used to organise Amplicon Sequencing Variant (ASV) datasets generated from 16S sequencing data of Gallus gallus reproductive and digestive tracts (male and female), as generated by Dr. Liisa Veerus.

There are three scripts:

  1. GenerateSeparateAndCombinedASVs.py: Takes in ASVs from various datasets and records in which datasets is each ASV found. Also constructs a file with the union of all ASVs found.
  2. GenerateTypeCountsAndPhylaGeneraCounts.py: Takes in a table of each ASV and its corresponding phylum and genus and generates a new table of the different ASVs found for each phylum and genus observed.
  3. UnioniseFemaleAndMales.py: Takes in files corresponding to male-specific and female-specific ASVs for each sample and generates a count matrix with the samples as rows and ASV IDs as columns.

Requirements

Only UnioniseFemaleAndMales.py requires an additional Python library, pandas. Please see the installation instructions here to install pandas.

Running scripts

All scripts can be run using, e.g.:

python GenerateSeparateAndCombinedASVs.py

or, if one is using Python 3:

python3 GenerateSeparateAndCombinedASVs.py

Each script contains references to data that has not been uploaded with this repository. To make full use of the script, please replace the data directories, input file names, and output file names appropriately.

asvdataprocessing's People

Contributors

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