GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - yenon118/VisualVariants: The goal of this project is to create a R package and executable scripts to visualize variants in Variant Call Format (VCF) files and Bcftools processed tab-delimited files.

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
R
R
 
 
man
man
 
 
notes
notes
 
 
scripts
scripts
 
 
tests
tests
 
 
.Rbuildignore
.Rbuildignore
 
 
.gitignore
.gitignore
 
 
DESCRIPTION
DESCRIPTION
 
 
LICENSE
LICENSE
 
 
NAMESPACE
NAMESPACE
 
 
README.md
README.md
 
 

Repository files navigation

VisualVariants

The goal of this project is to create an R package and executable scripts to visualize variants in variant call format (VCF) files and bcftools tab-delimited files.

Requirements

In order to run the VisualVariants, users need to install software, programming languages, and packages in their computing systems. The software, programming languages, and packages include:

R>=3.6.0

Installation

You can install the VisualVariants from Github with:

# Run this inside R environment
install.packages("devtools", dependencies = TRUE)
devtools::install_github("yenon118/VisualVariants")
# Run this in your terminal
git clone https://github.com/yenon118/VisualVariants.git

Usage

  1. generateMissingVariantCountStackBarChartParallel.R
Rscript scripts/generateMissingVariantCountStackBarChartParallel.R [-h] [--cores CORES] --inputs INPUTS --output OUTPUT [--all]

mandatory arguments:
  --inputs INPUTS       Input bcftools tab delimited files
  --output OUTPUT       Output file path

optional arguments:
  -h, --help            show this help message and exit
  --cores CORES         Number of processing cores
  --all                 Output all files
  1. generateSampleMissingPercentageScatterPlotParallel.R
Rscript scripts/generateSampleMissingPercentageScatterPlotParallel.R [-h] [--cores CORES] --inputs INPUTS --output OUTPUT [--all]

mandatory arguments:
  --inputs INPUTS       Input bcftools tab delimited files
  --output OUTPUT       Output file path

optional arguments:
  -h, --help            show this help message and exit
  --cores CORES         Number of processing cores
  --all                 Output all files
  1. generateVariantCountHistogramParallel.R
Rscript scripts/generateVariantCountHistogramParallel.R [-h] [--cores CORES] --inputs INPUTS --output OUTPUT [--gap GAP] [--binwidth BINWIDTH]

mandatory arguments:
  --inputs INPUTS       Input bcftools tab delimited files
  --output OUTPUT       Output file path

optional arguments:
  -h, --help            show this help message and exit
  --cores CORES         Number of processing cores
  --gap GAP             Gap of ticks in the x axis
  --binwidth BINWIDTH   Width of each bin for the histogram

Examples

These are basic examples which show you how to use VisualVariants:

  1. generateMissingVariantCountStackBarChartParallel.R
Rscript scripts/generateMissingVariantCountStackBarChartParallel.R \
--cores 3 \
--inputs /scratch/yenc/projects/VisualVariants/data/Nebraska.Chr01.txt \
--inputs /scratch/yenc/projects/VisualVariants/data/Nebraska.Chr02.txt \
--inputs /scratch/yenc/projects/VisualVariants/data/Nebraska.Chr03.txt \
--output /scratch/yenc/projects/VisualVariants/output/missing_variant_count_stack_bar_chart.png \
--all
  1. generateSampleMissingPercentageScatterPlotParallel.R
Rscript scripts/generateSampleMissingPercentageScatterPlotParallel.R \
--cores 3 \
--inputs /scratch/yenc/projects/VisualVariants/data/Nebraska.Chr01.txt \
--inputs /scratch/yenc/projects/VisualVariants/data/Nebraska.Chr02.txt \
--inputs /scratch/yenc/projects/VisualVariants/data/Nebraska.Chr03.txt \
--output /scratch/yenc/projects/VisualVariants/output/sample_missing_percentage_scatter_plot.png \
--all
  1. generateVariantCountHistogramParallel.R
Rscript scripts/generateVariantCountHistogramParallel.R \
--cores 3 \
--inputs /scratch/yenc/projects/VisualVariants/data/Nebraska.Chr01.txt \
--inputs /scratch/yenc/projects/VisualVariants/data/Nebraska.Chr02.txt \
--inputs /scratch/yenc/projects/VisualVariants/data/Nebraska.Chr03.txt \
--output /scratch/yenc/projects/VisualVariants/output/variant_count_histogram.png

Results

These are basic examples which show you how to use VisualVariants:

  1. generateMissingVariantCountStackBarChartParallel.R

missing variant count stack bar chart

  1. generateSampleMissingPercentageScatterPlotParallel.R

sample missing percentage scatter plot

  1. generateVariantCountHistogramParallel.R

variant_count_histogram

Package Update

To upgrade VisualVariants to the latest version, please remove the package and re-install the latest VisualVariants package:

# Run this inside R environment
remove.packages("VisualVariants")
devtools::install_github("yenon118/VisualVariants")

About

The goal of this project is to create a R package and executable scripts to visualize variants in Variant Call Format (VCF) files and Bcftools processed tab-delimited files.

github.com/yenon118/VisualVariants

Topics

bcftoolsrvcf

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.