Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gene/mrna id while loading count data #27

Open
abretaud opened this issue Jun 7, 2023 · 1 comment
Open

Gene/mrna id while loading count data #27

abretaud opened this issue Jun 7, 2023 · 1 comment
Assignees

Comments

@abretaud
Copy link
Member

abretaud commented Jun 7, 2023

Getting this error with genoboo add transcriptome:

## WARNING: 2023-06-07T07:35:24.586Z TypeError: Cannot destructure property 'genomeId' of 'Genes.findOne(...)' as it is undefined.
    at getGenomeId (imports/api/transcriptomes/addTranscriptome.js:18:11)
    at Object.complete (imports/api/transcriptomes/addTranscriptome.js:46:24)
    at StringStreamer.ChunkStreamer.parseChunk (/shared/ifbstor1/galaxy/mutable-data/dependencies/_conda/envs/[email protected]/share/genoboo-0.4.2-0/programs/server/npm/node_modules/papaparse/papaparse.js:570:18)
    at StringStreamer._nextChunk (/shared/ifbstor1/galaxy/mutable-data/dependencies/_conda/envs/[email protected]/share/genoboo-0.4.2-0/programs/server/npm/node_modules/papaparse/papaparse.js:816:16)
    at StringStreamer.stream (/shared/ifbstor1/galaxy/mutable-data/dependencies/_conda/envs/[email protected]/share/genoboo-0.4.2-0/programs/server/npm/node_modules/papaparse/papaparse.js:801:16)
    at Object.CsvToJson [as parse] (/shared/ifbstor1/galaxy/mutable-data/dependencies/_conda/envs/[email protected]/share/genoboo-0.4.2-0/programs/server/npm/node_modules/papaparse/papaparse.js:251:19)
    at imports/api/transcriptomes/addTranscriptome.js:34:8
    at new Promise (<anonymous>)
    at parseKallistoTsv (imports/api/transcriptomes/addTranscriptome.js:31:7)
    at MethodInvocation.run (imports/api/transcriptomes/addTranscriptome.js:112:12)
    at ValidatedMethod._execute (packages/mdg:validated-method/validated-method.js:94:12)
    at MethodInvocation.addTranscriptome (packages/mdg:validated-method/validated-method.js:57:23)
    at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1885:12)
    at packages/ddp-server/livedata_server.js:769:19
    at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1257:12)
    at packages/ddp-server/livedata_server.js:767:46

Probably because the tsv file first column contains gene ids instead of mrna, I guess the loader could/should be able to use them (even if it's not super logical).

@mboudet
Copy link
Member

mboudet commented Jun 7, 2023

We should manage the case where the gene is not found anyway

@mboudet mboudet self-assigned this Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants