Comments (4)
Hi!
I'm experiencing the same problem. I have no problems loading the data that comes with the package, but can't load my datasets, clonotype files obtained with mixcr:
> immdata <- repLoad("../data/sample1_folder/sample1.clonotypes.TRA.txt", .format = "mixcr")
== Step 1/3: loading repertoire files... ==
Error in if (file.info(path)$isdir) { :
missing value where TRUE/FALSE needed
>
> immdata <- repLoad("../data/sample1_folder/sample1.vdjca", .format = "mixcr")
== Step 1/3: loading repertoire files... ==
Error in if (file.info(path)$isdir) { :
missing value where TRUE/FALSE needed
>
I'd love to try out Immunarch, so any help with this problem would be much appreciated!
Best,
Clara
from immunarch.
I wonder if this is the same problem I have. When you load a directory, the error message is more detailed:
22 parsing failures.
row col expected actual
1838 allDHitsWithScore 1/0/T/F/TRUE/FALSE TRDD3*00(70)
1838 allDAlignments 1/0/T/F/TRUE/FALSE 12|26|39|20|34||70.0
1840 allDHitsWithScore 1/0/T/F/TRUE/FALSE TRDD3*00(40)
1840 allDAlignments 1/0/T/F/TRUE/FALSE 14|22|39|23|31||40.0
1842 allDHitsWithScore 1/0/T/F/TRUE/FALSE TRDD3*00(40)
It seems D alignments are not handled correctly. I am using mixcr v3.0.12 and immunarch v0.5.5. Are they not compatible?
from immunarch.
@AnaBolivar @clarapereira @hpessa
Hi, thank you for letting us know about the issue and sorry for the very late response!
Can you please send us a small subset of your data to test? [email protected]
MiXCR files are tricky to work with, and we would greatly appreciate your help here.
from immunarch.
Issue update.
After email conversations with researchers who reported the issue, we fixed some of the parsing issues in the latest immunarch
version.
To ensure that you are parsing the repertoire files correctly, make sure to:
- Apply the
repLoad
without (!) format specification, i.e., don't pass the.format
argument. IfrepLoad
doesn't work without the argument - it won't work at all. - Apply the
repLoad
to a folder with repertoire files. Singular files work too, but to make the analysis fast make sure to move all your repertoire files into the same folder and create ametadata.txt
file with all the meta-information needed for the analysis. You can find more information here: https://immunarch.com/articles/v2_data.html - Apply the
repLoad
to the text / table files with clonotypes from MiXCR and other tools.*.vdjca
and*.report
files are suitable. We will make sure they are skipped in the next versions ofimmunarch
. We already skipping.fasta
,.fastq
and other file formats which comes from single-cell sequencing.
Some of the reported issues were warnings, not errors. Even if you get a long message in your console, please check your data! We are working on removing obscure warning messages from the package to ensure the smooth experience.
I'm closing this issue for now, but please feel free to re-open it if the same problem persists. The whole ImmunoMind team sincerely appreciates you taking your time getting back to us and report this issues. @AnaBolivar , @clarapereira and @hpessa - thank you a lot!
from immunarch.
Related Issues (20)
- Incorrect parsing of AIRR files HOT 1
- select_()` was deprecated in dplyr 0.7.0.
- Error when generating plot for "Gini coefficient" HOT 1
- Issue with repLoad and repGermline when using O. mykiss IMGT data HOT 2
- Ambiguous Gene Usage in TRBD HOT 2
- Package Installation Error HOT 1
- Get Immunarch back to CRAN
- Number of sequence provided in .data and .dist are not matching!
- Deprecation warning from purrr in function seqCluster
- Single cell TCRSeq HOT 1
- C call with TRUST4 files HOT 2
- gene_stats for pig TRAV
- Found dataframe without required column Cluster
- How to specify groups order?
- MiXCR import no longer works HOT 4
- File naming vs loading problems HOT 2
- Cellranger Data Loading HOT 1
- object 'generate_germline_sequence' not found
- CDR3 Length paired 10x data
- Novaseq X and 10X
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from immunarch.