Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tumor-only samples or tumor with unmatched normal samples #41

Closed
JoKw opened this issue Apr 25, 2017 · 11 comments
Closed

tumor-only samples or tumor with unmatched normal samples #41

JoKw opened this issue Apr 25, 2017 · 11 comments

Comments

@JoKw
Copy link

JoKw commented Apr 25, 2017

Hi, Can facets be used for tumor-only samples or tumor with unmatched normal samples? Thanks

@veseshan
Copy link
Collaborator

There is an "unmatched" option in preProcSample which can be used for such an analysis. The pileup should be done with the pooled/unmatched normal. This is not well tested and hence feedback will be appreciated.

Venkat

@SNRNS
Copy link

SNRNS commented Jul 31, 2017

Hi,

I would like to run facets with unmatched normal samples too.

I ran snp-pileup as:
snp-pileup $vcf 1_snppileup.csv $bam

And I got the csv file with the columns:

Chromosome,Position,Ref,Alt,File1R,File1A,File1E,File1D

When I do:

rcmat = readSnpMatrix(datafile)

I get the warning message:

In read.table(file = file, header = header, sep = sep, quote = quote, : cols = 8 != length(data) = 12

And rcmat has:

[1] Chromosome Position NOR.DP NOR.RD TUM.DP <0 rows> (or 0-length row.names)

Also this is mouse data and the bams were aligned against mm10 reference genome.

Any help would be greatly appreciated.

Best,
Alejandro

@veseshan
Copy link
Collaborator

veseshan commented Jul 31, 2017 via email

@vyellapa
Copy link

With pooled normals, when we run pileups multiple alleles might have reporting reads at a given loci. How does facets interpret coverage at multiple alleles in normals and coverage at only 2 alleles in tumor?

@veseshan
Copy link
Collaborator

In the unmatched case the allele specific normal counts are not used. Only the total is used. The tumor counts are used to ascertain heterozygous snps.

@rayliu0115
Copy link

Hi,

I also have a question about the unmatched case. I run facets and use unmatched mode with one tumor bam and three different unmatched bam respectively. However, the three results are different. If the unmatched mode only used the information of tumor bam, why are these results different? Does it mean I have to prepare one "special normal" bam when I test different tumor bams?

Cheers,
Rui

@veseshan
Copy link
Collaborator

It will b helpful if you provide some details on how they are different. Unmatched option is not well tested.

@rayliu0115
Copy link

Thanks for your reply.

The main purpose of my research is to get the tumor purity and ploudy by using tumor bam only. I used some tumor-normal matched samples to test facets and tried to find out how the results would be different between matched and unmatched modes.

First, I used facets to analyze one pair of tumor-normal matched bams from PatientA and made the results as my "gold standard". Then, I used the same tumor bam from PatientA and three different normal bam from different patients respectively to run facets in the unmatched mode.

Based on my understanding, if I used the unmatched mode, it would not matter which normal bam I used, so the three unmatched results would be same. However, the three results were huge different.

About the unmatched mode, dose facets still use information of the normal bam? Dose it mean I have to create a standard normal bam when I run facets with different tumor bam? If yes, do you have any suggest how to create a standard normal bam?

@veseshan
Copy link
Collaborator

Lot of words; no data. It is hard to impossible to guess what may be causing your inconsistent results,

It is not true that the normal is not used in the unmatched mode; it's used for total copy number (log-ratio) and not for allelic imbalance (log-odds-ratio). So the normal can have an impact on your results.

@rayliu0115
Copy link

Oh, I see. Thanks so much for your help. I will keep trying

@LeiG1103
Copy link

Hi,
I have a question about creating the standard normal bam. Can I just combine several normal bam files together as one bam file? If I do this, the sequencing depth for the normal bam will change. Will that cause any problem to compare the tumor sample with the normal file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants