Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #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


    • #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

      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM
      • seqadmin
        Strategies for Sequencing Challenging Samples
        by seqadmin


        Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
        03-22-2024, 06:39 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      22 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      24 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      19 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      52 views
      0 likes
      Last Post seqadmin  
      Working...
      X