Giter Club home page Giter Club logo

facets2n's People

Contributors

andurill avatar rptashkin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

facets2n's Issues

error readSnpMatrix: Overlap of loci between the two Loess dataframes

Hello,

I generated the normal snp and then the loess.txt using 47 normal bams successfully using:

/usr/local/lib/R/site-library/facets2n/extcode/snp-pileup-wrapper.R --output-prefix /media/user/Seagate_Exome67_133/LIGUE/Exomes_67_133/FACETS/Tonly/standard_normals_cv3heme \ --vcf-file /media/user/Seagate_Exome67_133/LIGUE/Reference_files_WESpipeline/00-common_all.vcf.gz \ --unmatched-normal-BAMS "/media/user/Seagate_Exome67_133/LIGUE/Exomes_67_133/Alignments/Final_bams/*N_cleaned_bqsr.bam"
And then in R I created the loess object and try to load a snpMatrix (from a Tumor-normalUnmatched sample):

facets2n::MakeLoessObject(pileup = PreProcSnpPileup(filename = "/media/user/Seagate_Exome67_133/LIGUE/Exomes_67_133/FACETS/Tonly/standard_normals_cv3heme.snp_pileup.gz", is.Reference = TRUE,gbuild="hg38"), write.loess = TRUE, outfilepath = "/media/user/Seagate_Exome67_133/LIGUE/Exomes_67_133/FACETS/Tonly/standard_normals_cv3heme.loess.txt", is.Reference = TRUE,gbuild = "hg38") readu <- facets2n::readSnpMatrix(filename ="CNSL047T_CNSL005N.snp_pileup.gz", MandUnormal = TRUE, ReferencePileupFile = "/media/user/Seagate_Exome67_133/LIGUE/Exomes_67_133/FACETS/Tonly/standard_normals_cv3heme.snp_pileup.gz", ReferenceLoessFile = "/media/user/Seagate_Exome67_133/LIGUE/Exomes_67_133/FACETS/Tonly/standard_normals_cv3heme.loess.txt", useMatchedX = FALSE, refX=TRUE,gbuild = "hg38")

I got the following error:
imputed patient sex from matched normal: Female
Best normal for autosomes: NA
Best normal for ChrX: NA

Error in [.data.frame(combined.pileup, , best_normX) :
undefined columns selected
In addition: There were 50 or more warnings (use warnings() to see the first 50)

I tried lowering the "MinOverlap" to 0.75 but the error persists with this and other samples

Any suggestions or ideas to make it work?

Thanks in advance

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.