Giter Site home page Giter Site logo

happy-compare's Introduction

Happy-Compare Documentation

Initial setup

The repository is on github. Simply clone that repo and you can run the pipeline.

git clone [email protected]:v-pagano/happy-compare.git

Running a simple pipeline

Everything is setup in the input csv file, with that running the pipeline is simple. Just identify the input file and where you would like the output files to be written

nextflow run main.nf --input samples.csv --outputFolder /scratch/myFolder/output

CSV Format

The input csv file is setup with one row per sample. Many columns have a default if the field is left blank sampleId,truthVcf,bedFile,chromosome,stratifications,reference,SDF,GATK,DV,SBPAN,SBAI,HPRCDV,HPRCDTrio

Column Description Default
sampleId Sample identifier
truthVcf True variants for comparison
bedFile .bed file for comparison locations HG002_GRCh38_1_22_v4.2.1_benchmark_noinconsistent.bed
chromosome chromosomes to compare All chromosomes
stratifications tsv of bed files for stratification v3.1-GRCh38-stratifications-all-except-genome-specific-stratifications.tsv
reference genome reference .fa file GRCh38tgen_decoy_alts_hla.fa
SDF SDF folder for comparison GRCh38tgen_decoy_alts_hla.sdf

The rest of the columns are the comparisons that you want to do with the column name as the tag for that sample and the field with the vcf file to test. Take a look at HG002-happy.csv for an example.

Output files

The output files will all end up in the outputFolder that you specified. They will be named sampleId-comparisonTag-chromosome.*

Profiles

Profiles allow you to tailor how to run the pipeline. Simply add -profile profileName to your command line to use them, for example:

nextflow run main.nf --input samples.csv --outputFolder /scratch/myFolder/output -profile gemini 

Here are the current profiles you can use:

Profile Modifications
dback Configured for the dback cluster
gemini Configured for the gemini cluster
reports Outputs reports on CPU usage and elapsed time

happy-compare's People

Contributors

v-pagano avatar

Watchers

 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.