Coder Social home page Coder Social logo

RepLoad 10X data about immunarch HOT 2 OPEN

TheRaspberryFox avatar TheRaspberryFox commented on July 2, 2024
RepLoad 10X data

from immunarch.

Comments (2)

margaretc-ho avatar margaretc-ho commented on July 2, 2024

I have the same question! I am following these instructions https://immunarch.com/articles/web_only/load_10x.html#prepare-10x-data and trying to read in the data downloaded from this 10X genomics dataset (seems like a very standard dataset) and the filtered_contig_annotations has the following columns:
barcode is_cell contig_id high_confidence length chain v_gene d_gene j_gene c_gene full_length productive cdr3 cdr3_nt reads umis raw_clonotype_id raw_consensus_id donor origin
and not the following columns that RepLoad is looking for. Namely I get the error:

> file_path = "/Users/homc/Library/CloudStorage/TEST_BCellFlu_data"
> immdata_10x <- repLoad(file_path)

== Step 1/3: loading repertoire files... ==

Processing "/Users/homc/Library/CloudStorage/TEST_BCellFlu_data" ...
  -- [1/5] Parsing "/Users/homc/Library/CloudStorage/TEST_BCellFlu_data/sc5p_v2_hs_B_flu_aggregated_5gex_b_vdj_b_clonotypes.csv" -- unsupported format, skipping
  -- [2/5] Parsing "/Users/homc/Library/CloudStorage/TEST_BCellFlu_data/sc5p_v2_hs_B_flu_aggregated_5gex_b_vdj_b_consensus_annotations.csv" -- 10x (consensus)
  -- [3/5] Parsing "/Users/homc/Library/CloudStorage/TEST_BCellFlu_data/sc5p_v2_hs_B_flu_aggregated_5gex_b_vdj_b_filtered_contig_annotations.csv" -- 10x (filt.contigs)
Error in `df[, vec_names]`:
! Can't subset columns that don't exist.
✖ Columns `cdr1_nt`, `cdr1`, `cdr2_nt`, `cdr2`, `fwr1_nt`, etc. don't exist.
Backtrace:
 1. immunarch::repLoad(file_path)
 2. immunarch (local) .process_batch(batches[[batch_i]], .mode, .coding)
 3. immunarch (local) .read_repertoire(.filepath, .mode, .coding, ...)
 4. immunarch (local) parse_fun(.path, .mode, ...)
 5. immunarch:::parse_repertoire(...)
 9. tibble:::`[.tbl_df`(df, , vec_names)

Any suggestions? @vadimnazarov

from immunarch.

margaretc-ho avatar margaretc-ho commented on July 2, 2024

It seems like this is a common issue that many others are having when trying to load in 10X Genomics data
#363
#358
We are all seeming to get this same error because of the column names
So far, seems no solution

from immunarch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.