Git Product home page Git Product logo

flu_response_aging's Introduction

flu_response_aging

Collaboration with Patrick's Wilson's group, led by Carole Henry: Influenza Virus Vaccination Elicits Poorly Adapted B Cell Responses in Elderly Individuals.

Lineage assignment of influenza B sequences

Sbatch script blast_B_to_reference_seqs.sbatch contains the commands used for blasting influenza B HA sequences in genbank_B_HA.fasta against the reference strains in reference_B_strains.fasta (both files are in data/sequences/). Script process_blast_output.R processes the resulting csv file into another csv file listing the assigned lineage for each isolate (identified by its name and accession number). partition_B_sequences.py takes a fasta file with sequences and the lineage assignment csv file produced by process_blast_output.R and outputs separate fasta files with sequences from the Yamagata and Victoria lineages. Shell script partition_B_sequences.sh executes partition_B_sequences.py for genbank_B_HA.fasta, genbank_B_NA.fasta and genbank_B_NP.fasta.

Sequence alignment

Commands for aligning HA, NA and NP sequences for each subtype / lineage using MAFFT are contained in the *_alignment.sbatch sbatch files.

Amino acid divergence and number of glycosylation sites

divergence_vs_time.py uses functions implemented in alignment_analyses_functions.py to calculate % amino acid divergence and number of potential glycosylation sites over time given an alignment file, the name of a reference isolate and the range of sites to be considered. Shell scripts compute_distances*.sh execute that script for each subtype / lineage of influenza A and B.

Plots

combine_all_plots.R calls plot_divergence_vs_time.R and plot_divergence_vs_time_by_domain.R to produce the figure in the paper.

flu_response_aging's People

Contributors

m-vieira avatar

Watchers

James Cloos avatar Sarah Cobey avatar  avatar  avatar  avatar Phil Arevalo avatar  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.