Closed yxj17173 closed 3 years ago
And I change the method for dN/dS inference, there are some bugs.
x <- dNdS(query_file = system.file('seqs/ortho_thal_cds.fasta', package = 'orthologr'),
subject_file = system.file('seqs/ortho_lyra_cds.fasta', package = 'orthologr'),
delete_corrupt_cds = TRUE, # coding sequences that cannot be divided by 3 (triplets) will be removed
ortho_detection = "RBH", # perform BLAST best reciprocal hit orthology inference
aa_aln_type = "pairwise", # perform pairwise global alignments of AA seqs
aa_aln_tool = "NW", # using Needleman-Wunsch
codon_aln_tool = "pal2nal", # perform codon alignments using the tool Pal2Nal
dnds_est.method = "YN", # use YN's method for dN/dS inference
comp_cores = 20)
Orthology Inference Completed.
Starting dN/dS Estimation ...
Error: `x` and `y` must share the same src, set `copy` = TRUE (may be slow).
Run `rlang::last_error()` to see where the error occurred.
And rang error is
> rlang::last_error()
<error/rlang_error>
`x` and `y` must share the same src, set `copy` = TRUE (may be slow).
Backtrace:
1. orthologr::dNdS(...)
3. dplyr:::inner_join.data.frame(dNdS_tbl, hit.table_selected, by = "query_id")
4. dplyr::auto_copy(x, y, copy = copy)
5. dplyr:::glubort(...)
After I change the methods back to "Comeron", the Error still remained.
Hi,
I got same error when I run divergence_stratigraphy().
Error: x
and y
must share the same src, set copy
= TRUE (may be slow).
did you fix this error ?
Kai
Hey @yxj17173 and @weikai-320722
Many thanks for making me aware of this issue.
I now added copy = TRUE
to the inner_join()
that was affected. Could you please let me know if it works for you now?
Regarding the KaKs Calculator 2
system()
call, I will have a closer look to check how this could be resolved.
Cheers, Hajk
It works, thanks a lot! Sorry for long time no response.
Hi Dr. Drost, @HajkD The example works fine, and by use of the built-in data I could get a data frame of Divergence Stratigraphy.
After blastp ran, it shows
But dN/dS Estimation of my datasets failed.
After blastp ran, it shows
I don't know how to figure it out. I use the Xenbase genome data. I try to set environment in the Studio, the KaKs_Calculator is the "~/usr/bin".
The Error still remained. Many thanks in advance for your help!