NDAR / nda-tools

Python package for interacting with NDA web services. Used to validate, submit, and download data to and from NDA.
MIT License
48 stars 22 forks source link

Subject_01 File Submission #36

Closed JBarsotti closed 8 months ago

JBarsotti commented 3 years ago

Hello!

I hope you are well! I was recently made aware that NDA wants a "ndar_subject01" file along with the image03.csv file when a new MRI submission is uploaded:

https://nda.nih.gov/data_structure.html?short_name=ndar_subject01

Do you know of any way to upload this file along with the rest of the submission when using NDA-Tools to do the upload?

Thanks!

John

gregmagdits commented 2 years ago

Hi John, You can include multiple files in a single submission by including the path to both csv files in the command. For example (assuming your other MRI structure is fmriresults01) you should be able to run:

   vtcmd -b <path/to/fmriresults01.csv>  </path/to/ndar_subject01.csv>

The above command will produce a submission with the fmriresults01 structure and ndar_subject01 structure.

Note - It technically doesn't matter if the files are in separate submissions or in the same submission so if you needed to, you could create a new submission containing just the ndar_subject01 structure. 

Thanks

JBarsotti commented 2 years ago

Thank you so much for your reply!

John

jacob-lee commented 2 years ago

Note - It technically doesn't matter if the files are in separate submissions or in the same submission so if you needed to, you could create a new submission containing just the ndar_subject01 structure.

I wonder if that is in fact the case. Last month, NDA sent me a long list of inconsistencies between instruments, none of which were present in the final submissions; as far as I can tell what happened is that because I submitted instruments piecemeal, last December, and those submissions included corrections to previous data, including nda_subject01, between-instrument inconsistencies were temporarily introduced until being resolved by subsequent piecemeal submissions, and it was these that were being flagged by the QA routine.

princy149 commented 11 months ago

how could we specify for the resequenced data for the same samples in csv file while uploading on NDA? if I need to keep both data as old and resequenced.