Skip to content

Questions about the principle of computation #78

@YangJingqii

Description

@YangJingqii

Hi,
I have some questions when using these scripts.

  1. What are the functions of bootstrap in snpgenie_within_group.pl and SNPGenie_sliding_windows.R respectively, why do they need to be performed twice? How are they calculated? And when I run./SNPGenie_sliding_windows.R G_codon.txt N S 10 1 1000 100 NONE 6 > sw_G.out, I get an error
Warning messages:
1: Unknown or uninitialised column: `codon_num`. 
2: Unknown or uninitialised column: `codon_num`. 
Error in `filter()`:
ℹ In argument: `num_defined_seqs >= MIN_DEFINED_CODONS`.
Caused by error:
! object 'num_defined_seqs' not found
Backtrace:
     ▆
  1. ├─dplyr::filter(codon_data, num_defined_seqs >= MIN_DEFINED_CODONS)
  2. ├─dplyr:::filter.data.frame(codon_data, num_defined_seqs >= MIN_DEFINED_CODONS)
  3. │ └─dplyr:::filter_rows(.data, dots, by)
  4. │   └─dplyr:::filter_eval(...)
  5. │     ├─base::withCallingHandlers(...)
  6. │     └─mask$eval_all_filter(dots, env_filter)
  7. │       └─dplyr (local) eval()
  8. └─base::.handleSimpleError(...)
  9.   └─dplyr (local) h(simpleError(msg, call))
 10.     └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
  1. Why was snpgenie.pl in the deep sequencing sample not bootstrap?
    3.Designed for use with sequence data that outsizes what can be handled by other software platforms, I was wondering when does it not apply? Does calculating dn/ds without using phylogenetic tree create inaccuracies?
  2. What is the difference between πN/ πS and dN/dS calculated in snpgenie. I have checked Within-host nucleotide diversity of virus populations: Insights from next-generation sequencing No answer can be found, what is the calculation formula
  3. What is the basis for the calculation of dn/ds in snpgenie_within_group.pl?

I realize I have raised quite a number of questions, and I truly appreciate your patience and expertise in helping me understand these important aspects of the analysis.
Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions