Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ffavero
    Member
    • Apr 2014
    • 12

    #31
    Originally posted by lethalfang View Post
    I binned the chromosome 22, but still get this error:

    Code:
    > library('sequenza')
    
    > data.file <- "binned_22.seqz.gz"
    > seqz.data <- read.seqz(data.file, chr.name = "22")
    > test <- sequenza.extract(data.file)
    Processing 22: 1293 variant calls; 36633 heterozygous positions;
    2311953 homozygous positions.
    
    > cp22.example=sequenza.fit(test)
      |                                                                      |   0%
    Error in result$L - max.lik : non-numeric argument to binary operator
    In addition: There were 50 or more warnings (use warnings() to see 
    the first 50)

    The file is at: http://caprica.thruhere.net:8080/binned_22.seqz.gz

    It was created with the following command:
    sequenza-utils.py seqz-binning -w 200 -a 22.seqz | /home/ltfang/apps/tabix/bgzip > binned_22.seqz.gz



    Chromosome 1 ran fine. However, some commands did not work:
    ...
    I fixed various bugs on the sequenza-utils.py code, and I re-analysed the cell-lines from TCGA benckmark4.
    the fixed code is here:

    After binning and merging the chromosomes, I've used sequenza, the R package, with this parameters:

    Code:
    sqz     <- "seqz/HCC1143-100_bin200.seqz.gz"
    dir.out <- "out"
    sqz.id  <- "HCC1143-100"
    library(sequenza)
    
    test <- sequenza.extract(file = sqz, gamma = 60, min.reads = 20,
                                      kmin = 200, weighted.mean = FALSE,
                                      min.fw.freq = 0, min.reads.baf = 15)
    CP <- sequenza.fit(sequenza.extract = test, chromosome.list = 1:23,
                              XY = c(X = "X", Y = "Y"), ratio.priority = FALSE,
                              female = TRUE, mc.cores=4)
    
    sequenza.results(sequenza.extract = test, cp.table = CP, 
                            ratio.priority = FALSE, XY = c(X = "X", Y = "Y"),
                            out.dir = file.path(dir.out, sqz.id),
                            sample.id = sqz.id, female = TRUE)
    I have cellularity 100% and ploidy 3.6 for HCC1143, and cellularity 100% and ploidy 4.5 for HCC1954. CNV match the SKY karyotype.

    I also analyzed the mixture and it worked as well. As far as cellularity bigger than 30% we can detect ploidy correctly.
    Last edited by ffavero; 05-09-2014, 04:47 AM.

    Comment

    • lethalfang
      Member
      • Aug 2011
      • 95

      #32
      I see. Good point.
      I'll give it another try in the next week or two, when I have time.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2




        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
        Today, 06:46 AM
      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      22 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-28-2026, 09:51 AM
      0 responses
      14 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      67 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      47 views
      0 reactions
      Last Post SEQadmin2  
      Working...