Various scripts
Assigns MAF bin to each record from input VCF/BCF file. Requires python 3
and pysam
library. Type python vcf_assign_maf_bins.py --help
to get the description of all parameters. You can also pipe input/ouput files from/into standard input/output by specifying -
instead of file names.
Same as vcf_assign_maf_bins.py, but assigns AF bins.
Extracts all Loss-of-Function (LoF) variants from VCF/BCF file annotated using VEP. Requires python 3
and pysam
library. Type python vcf_extract_lof.py --help
to get the description of all parameters.
Annotates VCF file with CADD scores from https://cadd.gs.washington.edu/download. Note: you must download also the corresponding index files. Type python vcf_add_cadd_scores.py --help
to get the description of all parameters.
Assigns AD (allele depth) and DP (total depth) bin to each record from input single sample VCF/BCF file. Requires python 3
and pysam
library. Type python vcf_assign_depth_bins.py --help
to get the description of all parameters. You can also pipe input/ouput files from/into standard input/output by specifying -
instead of file names.
Subsets random sample from the specified VCF/BCF file and counts number of putative Loss-of-Function variants in the sample. Requires python 3
and pysam
library. Requires VCF/BCF file annotated using VEP+LOFTEE. Type python vcf_lof_downsample.py --help
to get the description of all parameters.
Extracts CDS (coding sequence regions) for each protein coding gene from GENCODE GTF file. For each gene, it uses a union of CDS regions from all protein coding transcripts. Requires python 3
and intervaltree
library. Type python gencode_cds.py --help
to get the description of all parameters.
Extracts 5' UTR and 3' UTR regions for each protein coding gene from GENCODE GTF file. For each gene, it uses a union of UTR regions from all protein coding transcripts. Requires python 3
and intervaltree
library. Type python gencode_utr.py --help
to get the description of all parameters.
Computes number of bases (A, C, G, T) and GC-content for regions in BED file. Requires python 3
and pysam
library. Type python bed_compute_gc.py --help
to get the description of all parameters.
For each variant within trio (mother, father, offspring) identifies possible Mendelian error. Requires python 3
and pysam
library. Trios (or nuclear families) must be provided in PED file format (no header). Genotypes for all samples from trios (or nuclear families) must be in the same VCF/BCF file (multiple VCFs/BCFs split by chromosome are allowed). Type mendelian_per_trio.py --help
to get the description of all parameters.
Same as mendelian_per_trio.py, but requires three sigle-sample input VCF/BCF files: for father, for mother, and for child. Type mendelian_per_trio_split.py --help
to get the description of all parameters.
Create gene sets file from the VEP annotated VCF/BCF for gene-burden association tests (e.g. using SAIGE or EPACTS). Requires python 3
and pysam
library. Type vcf_gene_set.py --help
to get the description of all parameters.
Counts number of variants per individual from VCF/BCF file. Variants are grouped by most severe consequence based on VEP annotations. Requires python 3
and pysam
library. Type variants_per_individual.py --help
to get the description of all parameters.
Helps to align A1/A2 alleles in PLINK to the human genome reference. Keeps only SNPs with A,C,G, and T alleles. Removes palindromic, A/T and G/C, SNPs. Flips everything on the +
strand. Type plink2reference.py --help
to get the description of all parameters.
Helps to remove duplicated variants with the highest missigness from PLINK files. Type plink_dupvar_prioritize.py --help
to get the description of all parameters.
Compares genotype (allele) frequency between two PLINK files using Fisher's exact test. Type plink_freq_concordance.py --help
to get the description of all parameters. You may need to load R (use module spider r
and module load r
) before running the script.
Similar to plink_freq_concordance.py
, but allows stratification by the groups (e.g. ancestry). Type plink_freq_strat_concordance.py --help
to get the description of all parameters. You may need to load R (use module spider r
and module load r
) before running the script.
Performs a Mahalanobis distance of projected genomes. Type Mahalanobis.py --help
to get the description of all parameters. Produces for each study sample: distance and its derived p-value per reference categories, and a list of non-rejected reference categories (at input threshold).
Merges imputed dosages when the genotype imputation was performed in subsets of samples. Subsets can have shared samples. Type merge_minimac_dosages.py --help
to get the description of all parameters.
Produce sum of absolute differences of Dosages in overlap samples of two impute VCF file (per samples and per variant). Requires python 3
, pysam
, 'numpy' library.
Compares allele frequencies in PLINK file to TOPMed reference panel. Type plink_freq_vs_topmed.py --help
to get the description of all parameters, and look inside the script for the additional hints.
Plots a Miami or Manahttan plot (depending on options selected) form Regenie Output.
Plots PCA Projections.
The main goal is to represent two results from Base Editing Crispr screening. (as pos/neg lolliplot separated by a diagram of the protein) This scripts also includes functions to : - Create a representation of a protein or gene with feature/domains - A methodologie to collapse intron (optional) - Create a lolliplot