Giter Site home page Giter Site logo

submission-excel2xml's Issues

To select 'fastq' for filetype

登録完了メールで以下のようなコメントがついていました。

# fastq ファイルの filetype
fastq ファイルのリード長が一定かどうかに関わらず、
今後は filetype に "fastq" を選択してください。
"generic_fastq" となっている既登録データの修正は不要です。
https://www.ddbj.nig.ac.jp/dra/submission.html#File_Type

dra_metadata.xlsxのfile typeのプルダウンメニューではgeneric_fastqになっているので、
フォーマットの更新をしていただけるとありがたいです。

Errors in the validation

When running validate_dra_meta.rb via docker, the following errors are shown:

== XML validation against SRA xsd ==
warning: failed to load external entity "SRA.submission.xsd"
Schemas parser error : Failed to locate the main schema resource at 'SRA.submission.xsd'.
WXS schema SRA.submission.xsd failed to compile
warning: failed to load external entity "SRA.experiment.xsd"
Schemas parser error : Failed to locate the main schema resource at 'SRA.experiment.xsd'.
WXS schema SRA.experiment.xsd failed to compile
warning: failed to load external entity "SRA.run.xsd"
Schemas parser error : Failed to locate the main schema resource at 'SRA.run.xsd'.
WXS schema SRA.run.xsd failed to compile

I'm afraid that the XSD files are not copied to a docker image.

New display name in Experiment

Thank you for opening this comment;
Could you please reflect in the Excel template the items whose names changed in December 2022?
e.g.) “Spot Type” to “Library Layout”, “Nominal Length” to “Insert Size”, and so on....

No such file to open error upon executing example code

The following error was shown after running the example code

D-way account ID: exampleSubmission number: 0001  
BioProject ID: PRJDB7252
Traceback (most recent call last):
        1: from /usr/local/bin/excel2xml.rb:75:in `<main>'
/usr/local/bin/excel2xml.rb:78:in `rescue in <main>': No such file to open. (RuntimeError)

code used to reproduce:

cd submission-excel2xml
sudo singularity build excel2xml.simg Singularity
singularity exec excel2xml.simg excel2xml.rb -a example -i 0001 -p PRJDB7252 example-0001_dra_metadata.xlsx

Edit:
This problem seems to show up with WSL2

Suggestion to alias format checking

Currently, experiment and run aliases should be in "Experiment-\d+" and "Run-\d+", respectively.
If a user wrote texts in the incorrect format (e.g. Experiment_0001), the system ignore them.
However, in this case, the system does not show any errors and warnings, and produces blank XML files.
For users, it is not easy to recognize why this happens.

Thus, I suggest to put error or warning messages for the incorrect alias texts.

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.