Giter Site home page Giter Site logo

Comments (6)

jcesar101 avatar jcesar101 commented on August 29, 2024 1

The updated battenberg_wgs.R is now available in the dev branch:

https://github.com/Wedge-lab/battenberg/blob/34cdd8d02f8b6ac684447216178bb0cd856e35ef/inst/example/battenberg_wgs.R

Thank you.

from battenberg.

a3schiller avatar a3schiller commented on August 29, 2024

Hi @parth2608!

I have a similar problem with unused arguments. Did you solve this?

Best,
Alice

from battenberg.

jcesar101 avatar jcesar101 commented on August 29, 2024

Hi,

could you please confirm what version of Battenberg was used when getting this error?

from battenberg.

a3schiller avatar a3schiller commented on August 29, 2024

Hi,

I am using the latest version in the development branch!

This is the error message that I get:

`Error in battenberg(analysis = analysis, tumourname = TUMOURNAME, normalname = NORMALNAME,  :
  unused arguments (tumourname = TUMOURNAME, tumour_data_file = TUMOURBAM, GENOMEBUILD = GENOMEBUILD)
Execution halted`

from battenberg.

jcesar101 avatar jcesar101 commented on August 29, 2024

Thank you for your prompt reply. In that version of Battenberg the name of the tumourname and tumour_data_file parameters changed to samplename and sample_data_file, respectively:

...
#' @param samplename Sample identifier (tumour or germline), this is used as a prefix for the output files. If allele counts are supplied separately, they are expected to have this identifier as prefix.
#' @param normalname Matched normal identifier, this is used as a prefix for the output files. If allele counts are supplied separately, they are expected to have this identifier as prefix.
#' @param sample_data_file A BAM or CEL file for the sample
#' @param normal_data_file A BAM or CEL file for the normal-pair (paired analysis)
...

There are also new optional parameters for enhanced functionality. We are currently working in updating the documentation and wrapping up the next Battenberg release. In the meantime, we greatly appreciate your patience and understanding.

from battenberg.

a3schiller avatar a3schiller commented on August 29, 2024

Thanks for your quick reply!

Is there an updated Battenberg_wgs.R available for this change?

The option list in the current file is:

option_list = list(
  make_option(c("-a", "--analysis_type"), type="character", default="paired", help="Type of analysis to run: paired (tumour+normal), cell_line (only tumour), germline (only normal)", metavar="character"),
  make_option(c("-t", "--tumourname"), type="character", default=NULL, help="Samplename of the tumour", metavar="character"),
  make_option(c("-n", "--normalname"), type="character", default=NULL, help="Samplename of the normal", metavar="character"),
  make_option(c("--tb"), type="character", default=NULL, help="Tumour BAM file", metavar="character"),
  make_option(c("--nb"), type="character", default=NULL, help="Normal BAM file", metavar="character"),
  make_option(c("--sex"), type="character", default=NULL, help="Sex of the sample", metavar="character"),
  make_option(c("-o", "--output"), type="character", default=NULL, help="Directory where output will be written", metavar="character"),
  make_option(c("--skip_allelecount"), type="logical", default=FALSE, action="store_true", help="Provide when alleles don't have to be counted. This expects allelecount files on disk", metavar="character"),
  make_option(c("--skip_preprocessing"), type="logical", default=FALSE, action="store_true", help="Provide when pre-processing has previously completed. This expects the files on disk", metavar="character"),
  make_option(c("--skip_phasing"), type="logical", default=FALSE, action="store_true", help="Provide when phasing has previously completed. This expects the files on disk", metavar="character"),
  make_option(c("--cpu"), type="numeric", default=8, help="The number of CPU cores to be used by the pipeline (Default: 8)", metavar="character"),
  make_option(c("--bp"), type="character", default=NULL, help="Optional two column file (chromosome and position) specifying prior breakpoints to be used during segmentation", metavar="character"),
  make_option(c("-g", "--ref_genome_build"), type="character", default="hg19", help="Reference genome build to which the reads have been aligned. Options are hg19 and hg38", metavar="character")
)

Thank you for your great work with Battenberg!

from battenberg.

Related Issues (20)

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.