LiftOver-nf

October 27, 2017 ยท View on GitHub

Nextflow pipeline to convert BED/VCF files between two genomes

Workflow representation

Description

Use picard tool to lift over BED or VCF files.

This scripts takes a set of a folder containing VCF or BED files as an input.

Dependencies

  1. This pipeline is based on nextflow. As we have several nextflow pipelines, we have centralized the common information in the IARC-nf repository. Please read it carefully as it contains essential information for the installation, basic usage and configuration of nextflow and our pipelines.

  2. External software:

  • picard tool. Note that picard requires Java 1.8 installed.
  1. External files:
  • The pipeline needs chains files, which contain all the information about translation between two genomes. They can be downloaded from the UCSC website selecting the genome you want to translate from.

Input

NameDescription
--input_folderFolder containing BED or VCF files
--chain_folderFolder containing chain files
--refReference fasta file for the target genome

If input is a VCF folder, files may have .vcf or .vcf.gz extension. If input is a BED folder, files may have .bed or .txt extension.

Parameters

NameExample valueDescription
--genome_fromGenome you want to translate from
--genome_intoGenome you want to translate into

Examples of accepted values for --genome_from and --genome_into parameter:

  • hg38 / hg19 / hg18 / hg17

  • GRCh38 / GRCh37

  • Optional

NameDefault valueDescription
--output_folderliftover_output/Folder to output resulting translated files

Flags are special parameters without value.

NameDescription
--helpDisplay help

Usage

Simple use case example:

nextflow run iarcbioinfo/LiftOver-nf --input_folder VCF/ --ref ref.fasta

Output

TypeDescription
BED/VCFTranslated BED/VCF files

Contributions

NameEmailDescription
Tiffany Delhomme*delhommet@students.iarc.frDeveloper to contact for support