BioTorrents.de’s version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.php 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?php
  2. # Line 222
  3. # Sequencing Formats
  4. #
  5. # https://www.ncbi.nlm.nih.gov/sra/docs/submitformats/
  6. $Containers = [
  7. 'BAM' => ['bam'],
  8. 'CRAM' => ['cram'],
  9. 'EMBL' => ['embl'],
  10. 'FASTA' => ['fa', 'fasta', 'fsa'],
  11. 'FASTA+QUAL' => ['qual'],
  12. 'CSFASTA' => ['csfa', 'csfasta', 'csfsa'],
  13. 'FASTQ' => ['fastq', 'fq', 'sanfastq'],
  14. 'GFF' => ['gff', 'gff2', 'gff3'],
  15. 'GTF' => ['gtf'],
  16. 'GenBank' => ['gb', 'gbk', 'genbank'],
  17. 'HDF5' => ['bash5', 'baxh5', 'fast5', 'hdf5'],
  18. 'PIR' => ['pir'],
  19. 'QSeq' => ['qseq'],
  20. 'SAM' => ['sam'],
  21. 'SFF' => ['sff'],
  22. 'SRF' => ['srf'],
  23. 'SnapGene' => ['dna', 'seq'],
  24. 'SwissProt' => ['dat'],
  25. 'VCF' => ['vcf'],
  26. 'Plain' => ['csv', 'txt'],
  27. 'Other' => [],
  28. ];
  29. # Imaging Formats
  30. #
  31. # https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3948928/
  32. $ContainersGames = [
  33. 'Analyze' => ['hdr', 'img'],
  34. 'Interfile' => ['h33'],
  35. 'DICOM' => ['dcm', 'dicom'],
  36. 'NIfTI' => ['nii', 'nifti'],
  37. 'MINC' => ['minc', 'mnc'],
  38. 'JPEG' => ['jfif', 'jpeg', 'jpg'],
  39. 'JPEG 2000' => ['j2k', 'jp2', 'jpf', 'jpm', 'jpx', 'mj2'],
  40. 'PNG' => ['png'],
  41. 'TIFF' => ['tif', 'tiff'],
  42. 'WebP' => ['webp'],
  43. 'Other' => [],
  44. ];
  45. # Protein Formats
  46. # DON'T PARSE RAW FILES. TOO MANY COMPETING VENDORS
  47. #
  48. # https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3518119/
  49. $ContainersProt = [
  50. 'ABI/Sciex' => ['t2d', 'wiff'],
  51. 'APML' => ['apml'],
  52. 'ASF' => ['asf'],
  53. 'Agilent/Bruker' => ['baf', 'd', 'fid', 'tdf', 'yep'],
  54. 'BlibBuild' => ['blib'],
  55. 'Bruker/Varian' => ['sms', 'xms'],
  56. 'Finnigan' => ['dat', 'ms'],
  57. 'ION-TOF' => ['ita', 'itm'],
  58. 'JCAMP-DX' => ['jdx'],
  59. 'MGF' => ['mgf'],
  60. 'MS2' => ['ms2'],
  61. 'MSF' => ['msf'],
  62. 'mzData' => ['mzdata'],
  63. 'mzML' => ['mzml'],
  64. 'mzXML' => ['mzxml'],
  65. 'OMSSA' => ['omssa', 'omx'],
  66. 'PEFF' => ['peff'],
  67. 'pepXML' => ['pepxml'],
  68. 'protXML' => ['protxml'],
  69. 'Shimadzu' => ['lcd', 'qgd', 'spc'],
  70. 'Skyline' => ['sky', 'skyd'],
  71. 'TPP/SPC' => ['dta'],
  72. 'Tandem' => ['tandem'],
  73. 'TraML' => ['traml'],
  74. 'ULVAC-PHI' => ['tdc'],
  75. 'Plain' => ['csv', 'txt'],
  76. 'Other' => [],
  77. ];
  78. # Extra Formats
  79. # DON'T PARSE IMG OR ISO FILES
  80. #
  81. # https://en.wikipedia.org/wiki/Disk_image#File_formats
  82. # https://en.wikipedia.org/wiki/OpenDocument
  83. # https://en.wikipedia.org/wiki/List_of_Microsoft_Office_filename_extensions
  84. # http://dcjtech.info/topic/python-file-extensions/
  85. $ContainersExtra = [
  86. 'Docker' => ['dockerfile'],
  87. 'Hard Disk' => ['fvd', 'dmg', 'esd', 'qcow', 'qcow2', 'qcow3', 'smi', 'swm', 'vdi', 'vhd', 'vhdx', 'vmdk', 'wim'],
  88. 'Optical Disc' => ['bin', 'ccd', 'cso', 'cue', 'daa', 'isz', 'mdf', 'mds', 'mdx', 'nrg', 'uif'],
  89. 'Python' => ['pxd', 'py', 'py3', 'pyc', 'pyd', 'pyde', 'pyi', 'pyo', 'pyp', 'pyt', 'pyw', 'pywz', 'pyx', 'pyz', 'rpy', 'xpy'],
  90. 'Jupyter Notebook' => ['ipynb'],
  91. 'Ontology' => ['cgif', 'cl', 'clif', 'csv', 'htm', 'html', 'kif', 'obo', 'owl', 'rdf', 'rdfa', 'rdfs', 'rif', 'tsv', 'xcl', 'xht', 'xhtml', 'xml'],
  92. 'OpenDocument' => ['odt', 'fodt', 'ods', 'fods', 'odp', 'fodp', 'odg', 'fodg', 'odf'],
  93. 'Word' => ['doc', 'dot', 'wbk', 'docx', 'docm', 'dotx', 'dotm', 'docb'],
  94. 'Excel' => ['xls', 'xlt', 'xlm', 'xlsx', 'xlsm', 'xltx', 'xltm', 'xlsb', 'xla', 'xlam', 'xll', 'xlw'],
  95. 'PowerPoint' => ['ppt', 'pot', 'pps', 'pptx', 'pptm', 'potx', 'potm', 'ppam', 'ppsx', 'ppsm', 'sldx', 'sldm'],
  96. 'PDF' => ['pdf', 'fdf', 'xfdf'],
  97. 'Plain' => ['csv', 'txt'],
  98. 'Other' => [],
  99. ];
  100. $Archives = [
  101. '7z' => ['7z'],
  102. 'bzip2' => ['bz2', 'bzip2'],
  103. 'gzip' => ['gz', 'gzip', 'tgz', 'tpz'],
  104. 'Pickle' => ['pickle', 'pkl'],
  105. 'RAR' => ['rar', 'rev'],
  106. 'ZIP' => ['zip', 'zipx'],
  107. 'None' => [],
  108. ];
  109. # Line 331