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

Nb convert param #7

Open
wants to merge 160 commits into
base: main
Choose a base branch
from
Open

Nb convert param #7

wants to merge 160 commits into from

Conversation

Congm12
Copy link
Contributor

@Congm12 Congm12 commented Jul 11, 2024

Tested on three real data (HT225, HT265, and prostate) and observed a consistent cancer clones and integer copy numbers with the previous convert_params function. All following commands show zero differences.

# prostate cancer sample (first file original, second file with the change)
diff /u/congma/ragr-data/users/congma/Datasets/CalicoST_prostate_example/calicost/clone5_rectangle0_w1.0/cnv_seglevel.tsv /u/congma/ragr-data/users/congma/Datasets/CalicoST_prostate_example/calicost_convertparams/clone5_rectangle0_w1.0/cnv_seglevel.tsv
diff /u/congma/ragr-data/users/congma/Datasets/CalicoST_prostate_example/calicost/clone5_rectangle0_w1.0/clone_labels.tsv /u/congma/ragr-data/users/congma/Datasets/CalicoST_prostate_example/calicost_convertparams/clone5_rectangle0_w1.0/clone_labels.tsv

# HT225 sample (first file original, second file with the change)
diff /u/congma/ragr-data/users/congma/Datasets/WashU_CalicoST/HT225C1_joint/cna_v2/clone4_rectangle0_w1.0/cnv_seglevel.tsv /u/congma/ragr-data/users/congma/Datasets/WashU_CalicoST/HT225C1_joint/cna_v3/clone4_rectangle0_w1.0/cnv_seglevel.tsv
diff /u/congma/ragr-data/users/congma/Datasets/WashU_CalicoST/HT225C1_joint/cna_v2/clone4_rectangle0_w1.0/clone_labels.tsv /u/congma/ragr-data/users/congma/Datasets/WashU_CalicoST/HT225C1_joint/cna_v3/clone4_rectangle0_w1.0/clone_labels.tsv

# HT265 sample (first file original, second file with the change)
diff /u/congma/ragr-data/users/congma/Datasets/WashU_CalicoST/HT265B1-S1H1Fc2U1Z1Bs1/cna_v2/clone4_rectangle0_w1.0/cnv_seglevel.tsv /u/congma/ragr-data/users/congma/Datasets/WashU_CalicoST/HT265B1-S1H1Fc2U1Z1Bs1/cna_v3/clone4_rectangle0_w1.0/cnv_seglevel.tsv
diff /u/congma/ragr-data/users/congma/Datasets/WashU_CalicoST/HT265B1-S1H1Fc2U1Z1Bs1/cna_v2/clone4_rectangle0_w1.0/clone_labels.tsv /u/congma/ragr-data/users/congma/Datasets/WashU_CalicoST/HT265B1-S1H1Fc2U1Z1Bs1/cna_v3/clone4_rectangle0_w1.0/clone_labels.tsv

While comparing the inferred RDR and BAF parameters, cnv_perstate.tsv, we can see differences of magnitude $10^{-5}$.

Congm12 and others added 30 commits May 6, 2022 12:16
…nces, now the input X should include both observed counts and NB expectation/BB total counts
…allow input argument to initialize log_mu and p_binom
…runtime of BetaBinom fitting, selecting obs with a high expectation in E step
… step optimization (only using data points with > threshold E step expectation)
…inding integer copynumber for each HMM state
… probability to enforce reference-based phasing more
…length binning by a UMI count threshold). This gives _01 outputs
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

Successfully merging this pull request may close these issues.

3 participants