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

estimate_purity is broken when only sample_id is provided #100

Closed
rdmorin opened this issue Jun 10, 2022 · 2 comments
Closed

estimate_purity is broken when only sample_id is provided #100

rdmorin opened this issue Jun 10, 2022 · 2 comments

Comments

@rdmorin
Copy link
Collaborator

rdmorin commented Jun 10, 2022

It looks like some updates have broken how estimate_purity would obtain the MAF data for a sample. This should be fixed so we can use the augment_ssm output with the auto-removal of variants with low read support.

pure=estimate_purity(sample_id="12-17272_tumorB")
fetching: slms-3
using flatfile: /projects/nhl_meta_analysis_scratch/gambl/results_local/gambl/battenberg_current/99-outputs/seg/genome--grch37/12-17272_tumorB--12-17272_normal_subclones.igv.seg
Rows: 45 Columns: 6
── Column specification ────────────────────────────────────────────────────────────────────────────────────────
Delimiter: "\t"
chr (2): ID, chrom
dbl (4): start, end, LOH_flag, log.ratio

ℹ Use spec() to retrieve the full column specification for this data.
ℹ Specify the column types or set show_col_types = FALSE to quiet this message.
Error in UseMethod("filter") :
no applicable method for 'filter' applied to an object of class "NULL"

@rdmorin
Copy link
Collaborator Author

rdmorin commented Jun 10, 2022

@kristenadaley can you look into this?

@Kdreval
Copy link
Contributor

Kdreval commented Dec 18, 2023

This function also has other bugs that Jasper posted on Slack. I'll migrate this issue to the new repo for tracking

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