intermine / intermine/intermine_compose

Whitelist filetypes and possibly validation

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4
Forks
5
PR merge metrics
No merged PRs in 30d

Description

mzML (mass spec) (.mzml, .xml)
nmrML (nmr) (.nmrml, .xml)
Fastq (sequencing) (.fastq, fq)
FASTA (sequencing (.fasta, fa)
GFF (.gff) (confirmed by Sergio)
SAM (sequencing)
BAM (sequencing)
VCF (variation) (.vcf)
FCS (flow cytometry) (.fcs)
DICOM (imaging/medical imaging) (.dicom)
Imaging (jpeg,png,tiff)

Any other filetypes should be rejected.

Only some of these filetypes are currently integrated into the mine; the remaining should just be stored as a reference for future downloading by the user.

If we implement file validation, we can save the user a lot of potentially lost time by telling them their file is invalid early on, instead of later when some process fails. Validating these type of files is a complex process (although there does exist Python libraries for it).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.