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

missing the last sample in output_corr_matrix.txt #28

Open
zhujack opened this issue Mar 5, 2020 · 0 comments
Open

missing the last sample in output_corr_matrix.txt #28

zhujack opened this issue Mar 5, 2020 · 0 comments

Comments

@zhujack
Copy link

zhujack commented Mar 5, 2020

Hi,

Thanks for this robust tool. I found the last sample in my output_corr_matrix.txt is always missing and the same as in the dendrogram.

It looks adding the last sample to the temp in vaf_ncm.py will fix the problem:

temp.append([keyList[j],keyList[j]]) ## around line 265

When NGSCheckMate_all.txt is written, adding the following will remove the last line:

for i in range(0,len(samples)-1 ): ## around line 334

Also, the method of "ward.D" seems to work better for clustering (around line 382).

If the above makes sense, could you update your code?

Thanks,
Jack

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

1 participant