Open albyrne0815 opened 1 year ago
Hi, @albyrne0815!
I'm Aleksandr Popov, a developer of Immunarch package. Thank you for using our software!
There is a fix for this problem, currently in dev
branch of Immunarch. So, try to install Immunarch with these commands:
install.packages(c("devtools", "pkgload"))
devtools::install_github("immunomind/immunarch", ref="dev")
devtools::reload(pkgload::inst("immunarch"))
After that, files without that optional columns should load to Immunarch successfully.
Best regards, Aleksandr
Hi,
I used the repload command to load TRUST4 data using "immdata <- repLoad(directory to TRUST file)" And received this error (see below). There seems to be a column subset issue, 'cd1r_aa' . Do you have a recommended work around? I uploaded the package through github using these commands see below.
install.packages(c("devtools", "pkgload")) devtools::install_github("immunomind/immunarch", ref="master") devtools::reload(pkgload::inst("immunarch"))
== Step 1/3: loading repertoire files... ==
Processing "/data/single_cell_tools/TRUST4/10X_DTC_P2_Immune/10X_DTC_P2_SingleCell/" ... -- [1/14] Parsing "/data/single_cell_tools/TRUST4/10X_DTC_P2_Immune/10X_DTC_P2_SingleCell//10X_DTC_P2_SingleCell_trust4_report.out" -- vdjtools -- [2/14] Parsing "/data/single_cell_tools/TRUST4/10X_DTC_P2_Immune/10X_DTC_P2_SingleCell//TRUST_10X_DTC_P2_Immune_LIB5461716_HITS5479242_R1_merge_airr.tsv" -- airr Error in
select()
:! Can't subset columns that don't exist. ✖ Column
cdr1_aa
doesn't exist. Runrlang::last_error()
to see where the error occurred. Warning message:select_()
was deprecated in dplyr 0.7.0. ℹ Please useselect()
instead. ℹ The deprecated feature was likely used in the immunarch package. Please report the issue at https://github.com/immunomind/immunarch/issues.Here is the backtrace:
rlang::last_trace() <error/vctrs_error_subscript_oob> Error in
select()
: ! Can't subset columns that don't exist. ✖ Columncdr1_aa
doesn't exist.Backtrace: â–†
<fn>
()