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

Integrate sample CSV format with other objects and format JSON accordingly #322

Open
blankdots opened this issue Dec 29, 2021 · 0 comments
Labels
on new board Temporary label for matching issues between boards

Comments

@blankdots
Copy link
Contributor

blankdots commented Dec 29, 2021

Description

Current sample CSV files are reflected in MongoDB as:

{
  _id: ObjectId("61cc60955dba44e035c9533e"),
  title: "test sample",
  alias: "test1",
  description: "A test sample metadata based on the EGA submitter portal format",
  subjectId: "123456789abc",
  bioSampleId: "",
  caseOrControl: "",
  gender: "unknown",
  organismPart: "",
  cellLine: "",
  region: "",
  phenotype: "some disease state",
  sampleName: {
    taxonId: 9606
  },
  accessionId: "8976b3e507034027992f45179b4c00b1",
  dateCreated: Date("2021-12-29T13:20:21.757Z"),
  dateModified: Date("2021-12-29T13:20:21.757Z")
}

which does not reflect relevant information according to the JSON schema.

For this information to be relevant we would need to adjust the CSV files to work with analysis/ runs objects (similar to #321 ) and with EGA analysis CSV files
samples-bam.csv
samples-complete-genomics.csv
samples-cram.csv
samples-fasta.csv
samples-one-fastq-file-single.csv
samples-pacbio-hdf5.csv
samples-sff.csv
samples-srf.csv
samples-two-fastq-files-paired.csv

DoD (Definition of Done)

Integrate sample and analysis so that the data submitted via CSV is useful for users.

Testing

Unit and integration testing.

@blankdots blankdots changed the title Integrate sample CSV format with Analysis files and format JSON accordingly Integrate sample CSV format with other objects and format JSON accordingly Dec 29, 2021
@blankdots blankdots mentioned this issue Dec 29, 2021
3 tasks
@genie9 genie9 added the on new board Temporary label for matching issues between boards label May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on new board Temporary label for matching issues between boards
Projects
None yet
Development

No branches or pull requests

2 participants