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

Axiom arrays? #1

Open
drneavin opened this issue Feb 11, 2021 · 11 comments
Open

Axiom arrays? #1

drneavin opened this issue Feb 11, 2021 · 11 comments

Comments

@drneavin
Copy link

Hello @gjmzajac,

I'm wondering if vices can be used with Axiom array outputs or if it only works on Illumina array outputs?

Thanks!

@gjmzajac
Copy link
Owner

gjmzajac commented Feb 11, 2021 via email

@drneavin
Copy link
Author

Hi @gjmzajac,

We have multiple cell lines that have been expanded for biobanking and we want to make sure they are pure populations and have not had any cross-contamination from other lines. Would VICES work if I could generate similar files from the Axiom analysis software? For example, if I could pull the B allele frequency and the allele calls for each individual and then format similar to the example data provided on the wiki site?

I'm also wondering if the input should be QC filtered data or if it should be the pre-QC filtered data?

Thanks so much for your help!
-Drew

@gjmzajac
Copy link
Owner

gjmzajac commented Feb 12, 2021 via email

@drneavin
Copy link
Author

drneavin commented Mar 8, 2021

Hi Greg,

I wanted to follow up on this topic and let you know how the results look with Axiom data. I was able to create a file from the Axiom data that has the same structure as the example files. We don't have any other signs of contamination but we are interested in seeing if there are low levels of contamination that may have been missed by the Axiom suite software. Unfortunately we don't have any positive controls with this dataset but we may include one in our next array submission to double check that the data we are getting from Axiom works well in vices.

However, with the current data, vices doesn't detect any cross-contamination. However, I receive this error when I run vices on our data:
error: matrix singular when regressing sample 67 intensities on AF

I'm wondering what this implies and if there is something that I should check to alleviate this error?

In addition, I wanted to note that two of the software dependencies used by vices either cause errors or are no longer available:

  • armadillo-8.400.0.tar.xz is no longer available from the sourceforge address. I ended up using 8.600.1 instead
  • libStatGen v1.0.14 caused issues on my system that were reported on their issue page. I used v1.0.15 instead

Thanks for your help!

-Drew

@gjmzajac
Copy link
Owner

gjmzajac commented Mar 12, 2021 via email

@drneavin
Copy link
Author

Hi Greg,

Yes, I just edited the library versions in the build file which worked well.

For the singularity error, I get the error for all samples. I've attached the top 20 lines of one of the files - let me know if you can see why the samples may all be returning the singularity error.
vice_file_head.txt

Thanks again for your help!

Cheers,
Drew

@gjmzajac
Copy link
Owner

gjmzajac commented Mar 16, 2021 via email

@gjmzajac
Copy link
Owner

gjmzajac commented Mar 16, 2021 via email

@drneavin
Copy link
Author

Hi Greg,

Great questions! yes, I can put through a pull request to update the libraries.

I'm glad to hear that the file looks good from first glance. I've attached the output from the analysis - all the individuals have nan as the output values: contam_estimates.txt. This is the standard output I get from running vices:

VICES v1.0: Verify Intensity Contamination from Estimated Sources
(c) 2019 - Gregory Zajac, Goncalo Abecasis
Reading 87 report files...
Done
Read 370450 Markers in the report files
Using 208909 markers with MAF >= 0.1
error: matrix singular when regressing sample 0 intensities on AF
error: matrix singular when regressing sample 1 intensities on AF
error: matrix singular when regressing sample 2 intensities on AF
error: matrix singular when regressing sample 3 intensities on AF
error: matrix singular when regressing sample 4 intensities on AF
error: matrix singular when regressing sample 5 intensities on AF
error: matrix singular when regressing sample 6 intensities on AF
error: matrix singular when regressing sample 7 intensities on AF
error: matrix singular when regressing sample 8 intensities on AF
error: matrix singular when regressing sample 9 intensities on AF
error: matrix singular when regressing sample 10 intensities on AF
error: matrix singular when regressing sample 11 intensities on AF
error: matrix singular when regressing sample 12 intensities on AF
error: matrix singular when regressing sample 13 intensities on AF
error: matrix singular when regressing sample 14 intensities on AF
error: matrix singular when regressing sample 15 intensities on AF
error: matrix singular when regressing sample 16 intensities on AF
error: matrix singular when regressing sample 17 intensities on AF
error: matrix singular when regressing sample 18 intensities on AF
error: matrix singular when regressing sample 19 intensities on AF
error: matrix singular when regressing sample 20 intensities on AF
error: matrix singular when regressing sample 21 intensities on AF
error: matrix singular when regressing sample 22 intensities on AF
error: matrix singular when regressing sample 23 intensities on AF
error: matrix singular when regressing sample 24 intensities on AF
error: matrix singular when regressing sample 25 intensities on AF
error: matrix singular when regressing sample 26 intensities on AF
error: matrix singular when regressing sample 27 intensities on AF
error: matrix singular when regressing sample 28 intensities on AF
error: matrix singular when regressing sample 29 intensities on AF
error: matrix singular when regressing sample 30 intensities on AF
error: matrix singular when regressing sample 31 intensities on AF
error: matrix singular when regressing sample 32 intensities on AF
error: matrix singular when regressing sample 33 intensities on AF
error: matrix singular when regressing sample 34 intensities on AF
error: matrix singular when regressing sample 35 intensities on AF
error: matrix singular when regressing sample 36 intensities on AF
error: matrix singular when regressing sample 37 intensities on AF
error: matrix singular when regressing sample 38 intensities on AF
error: matrix singular when regressing sample 39 intensities on AF
error: matrix singular when regressing sample 40 intensities on AF
error: matrix singular when regressing sample 41 intensities on AF
error: matrix singular when regressing sample 42 intensities on AF
error: matrix singular when regressing sample 43 intensities on AF
error: matrix singular when regressing sample 44 intensities on AF
error: matrix singular when regressing sample 45 intensities on AF
error: matrix singular when regressing sample 46 intensities on AF
error: matrix singular when regressing sample 47 intensities on AF
error: matrix singular when regressing sample 48 intensities on AF
error: matrix singular when regressing sample 49 intensities on AF
error: matrix singular when regressing sample 50 intensities on AF
error: matrix singular when regressing sample 51 intensities on AF
error: matrix singular when regressing sample 52 intensities on AF
error: matrix singular when regressing sample 53 intensities on AF
error: matrix singular when regressing sample 54 intensities on AF
error: matrix singular when regressing sample 55 intensities on AF
error: matrix singular when regressing sample 56 intensities on AF
error: matrix singular when regressing sample 57 intensities on AF
error: matrix singular when regressing sample 58 intensities on AF
error: matrix singular when regressing sample 59 intensities on AF
error: matrix singular when regressing sample 60 intensities on AF
error: matrix singular when regressing sample 61 intensities on AF
error: matrix singular when regressing sample 62 intensities on AF
error: matrix singular when regressing sample 63 intensities on AF
error: matrix singular when regressing sample 64 intensities on AF
error: matrix singular when regressing sample 65 intensities on AF
error: matrix singular when regressing sample 66 intensities on AF
error: matrix singular when regressing sample 67 intensities on AF
error: matrix singular when regressing sample 68 intensities on AF
error: matrix singular when regressing sample 69 intensities on AF
error: matrix singular when regressing sample 70 intensities on AF
error: matrix singular when regressing sample 71 intensities on AF
error: matrix singular when regressing sample 72 intensities on AF
error: matrix singular when regressing sample 73 intensities on AF
error: matrix singular when regressing sample 74 intensities on AF
error: matrix singular when regressing sample 75 intensities on AF
error: matrix singular when regressing sample 76 intensities on AF
error: matrix singular when regressing sample 77 intensities on AF
error: matrix singular when regressing sample 78 intensities on AF
error: matrix singular when regressing sample 79 intensities on AF
error: matrix singular when regressing sample 80 intensities on AF
error: matrix singular when regressing sample 81 intensities on AF
error: matrix singular when regressing sample 82 intensities on AF
error: matrix singular when regressing sample 83 intensities on AF
error: matrix singular when regressing sample 84 intensities on AF
error: matrix singular when regressing sample 85 intensities on AF
error: matrix singular when regressing sample 86 intensities on AF
Initial estimates based on AFs complete
Contamination above 0.005 detected in 0 samples
Starting donor search...
Done
Pruning estimated donors and calculating final estimates...
Done
Results written to /directflow/SCCGGroupShare/projects/DrewNeavin/SNP_genotyping_contamination/2020_02/output/vices/contam_estimates.txt

Yes, all the individuals were genotyped on the same array on the same plate so the variant names are the same.

However, you bring up a good point - some of the individuals have been included twice in this genotype array submission. I just ran vices with unique individuals and got the same error so I don't think that is the reason for this issue.

I'll print out all the variables and get back to you about that soon.

Thanks!
-Drew

@drneavin
Copy link
Author

Hi Greg,

I figured out why my files were all returning the singular matrix error. The files must be dos files to be effectively parsed by vices. If I run unix2dos on the files that I generated (which were unix files) before running vices, the program works well and returns the expected results without error.

I'll do the pull request today to update the software packages.

Thanks for all your help on this issue! And good to know now that vices works on Axiom arrays too.

-Drew

@gjmzajac
Copy link
Owner

gjmzajac commented Mar 17, 2021 via email

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

2 participants