Coder Social home page Coder Social logo

maize_wgs_build's People

Contributors

aseetharam avatar j23414 avatar mbhufford avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

maize_wgs_build's Issues

Merging multiple sequencing lane fastq-files

Hi,

Good job on automating this pipeline through nextflow!
I have several fastq-files of the same sample, sequenced on different sequencing lanes, and I was wondering at what stage these should be merged together.
I tried giving them the same sample name in my reads_file and running the pipeline, but then I get an "input file name collision" error at the run_gatk_snp stage because I have multiple sample_merged.bam files.

Thanks in advance!

Best regards,

Thomas

add feature: java options

Add a --java-options parameter

params{
  java_options = false     // example "-Xmx60g -XX:+UseParallelGC"
}
env {
  java_options = params.java_options ? "--java-options \\\"$params.java_options\\\"" : "--java-options \\\"-Xmx80g -XX:+UseParallelGC -Djava.io.tmpdir=\$TMPDIR\\\""
}

FASTQ and FASTQ.gz input

Verify that the pipeline can take a mix of uncompressed fastq as well as compressed fastq.gz.

Update the help statement

Why isn't this called FASTQ to BAM?

process fastqToSAM_run {
tag "$readname"
label 'picard'
publishDir "${params.outdir}/fastqToSAM", mode: 'copy'
input:
tuple val(readname), path(readpairs)
// val read1
// val read2
// val readgroup
// val readname
// val platform
// val rundate
// var center
output:
path "${readname}_fastqtosam.bam"
script:
"""
#! /usr/bin/env bash
picard FastqToSam \
FASTQ=${readpairs.get(0)} \
FASTQ2=${readpairs.get(1)} \
OUTPUT=${readname}_fastqtosam.bam \
SAMPLE_NAME=${readname}
"""
}

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.