Giter Club home page Giter Club logo

xyalign_ac3's Introduction

XYalign_AC3

This repository stores custom WDLs for our project analyzing data using the Terra platform.

Step outlines:

#Extracting reads previously mapped to GRCh38.

(1) Converting CRAM files to BAM files (samtools, CRAM-to-BAM_multithreaded.wdl).

(2) Stripping reads from the BAM files, pairing them and trimming them, with QC (samtools, bbmap, and trim_galore, StripReadsFromBams.wdl).

#Map trimmed reads to new genome assembly (CHM13).

(3) Convert paired fastqs to CRAM files (bwa and samtools, t2t_alignment.wdl).

#Convert CRAM file to gVCF for each individual (and potentially aggregate gVCFs for downstream genotyping.

(4) Use GATK HaplotypeCaller on chr8 and chrX for each individual (gatk, haplotype_calling_chrom_female.wdl).

#Call variants by joint genotyping (3-steps)

(5.1) Generate a sample map for GATK's GenomicsDBImport function (custom Broad script, generate-sample-map.wdl).

(5.2) Generate a genomicsDB using GATK's GenomicsDBImport function (gatk, t2t_genomics_db.wdl).

(5.3) Joint genotyping and filtering using GATK's GenotypeGVCFs function (gatk, joint_genotyping.wdl).

(5.3.1) Calculate final VCF stats (rtg-tools and bcftools, misc/calc_stats.wdl)

(6.0.1) Generate appropriate salmon references using 6.1-salmon/salmon_index.sh (salmon).

(6.1) Run salmon to generate quant files (salmon, salmon.wdl).

(6.1.1) Extract TPM data from salmon output for each individual from both references and subtract the "raw" from "xy" values into a seperate column (process_quants.wdl).

(6.1.2) In any order, run three collate_XXX WDLs to combine TPM (or TPM differences) data from all individuals for both reference genomes into a single file for each reference (collate_xy_quants.wdl/collate_raw_quants.wdl/collate_quant_diffs.wdl).

(6.0.2) Generate appropriate HiSat2 reference for RNAseq alignment (hisat2).

(6.2.1) Align RNAseq reads to reference genomes using Hisat2 (hisat2, hisat2_alignment.wdl)

(6.2.2a) Split jointly genotyped VCF files into individual VCFs for downstream ASE analysis (bcftools, split_genotypes_for_ASE.wdl)

(6.2.2b) Run ASEReadCounter for all samples (gatk, ASE.wdl)

(6.2.2c) Process ASE outputs, calculating allele balance and removing duplicate records (custom python scripts, process_ASE.wdl)

(6.2.2c) collate ASE summary information from each sample (collate_ASE_stats.wdl)

(Final step) Generate zipped tar archives for final data outputs that should be backed up locally prior to publication (misc/tarchive.wdl)

xyalign_ac3's People

Contributors

aofarrel avatar briandoconnor avatar drpintothe2nd avatar

Watchers

 avatar

Forkers

aofarrel

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.