Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Molstar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michal Malý
Molstar
Commits
0df3bcd6
Commit
0df3bcd6
authored
3 years ago
by
Alexander Rose
Browse files
Options
Downloads
Patches
Plain Diff
document supported file formats
parent
f5ecf564
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/file-formats.md
+44
-0
44 additions, 0 deletions
docs/file-formats.md
src/mol-io/reader/dx/parser.ts
+1
-1
1 addition, 1 deletion
src/mol-io/reader/dx/parser.ts
with
45 additions
and
1 deletion
docs/file-formats.md
0 → 100644
+
44
−
0
View file @
0df3bcd6
Support file formats and their extensions.
## Structure
-
MMCIF and CIFCORE (mmCIF and coreCIF schemas): cif, bcif, mmcif, mcif
-
GRO: gro
-
MOL: mol
-
MOL2: mol2
-
PDB/PDBQT: pdb, ent, pdbqt
-
SDF: sdf, sd
-
XYZ: xyz
## Topology
Need to be loaded together with Coordinates.
-
PRMTOP: prmtop, parm7
-
PSF: psf
-
TOP: top
## Coordinates
Need to be loaded together with a Structure or Topology.
-
DCD: dcd
-
NCTRAJ: nc, nctraj
-
TRR: trr
-
XTC: xtc
## Volume
-
CCP4/MRC/MAP: ccp4, mrc, map
-
CUBE (may include a Structure): cub, cube
-
DSN6/BRIX: dsn6, brix
-
DX and DXBIN: dx, dxbin
-
DSCIF (DensityServer CIF schema): cif, bcif
## Shape
-
PLY
This diff is collapsed.
Click to expand it.
src/mol-io/reader/dx/parser.ts
+
1
−
1
View file @
0df3bcd6
...
...
@@ -122,7 +122,7 @@ async function parseBinary(taskCtx: RuntimeContext, data: Uint8Array, name: stri
}
export
function
parseDx
(
data
:
string
|
Uint8Array
,
name
:
string
)
{
return
Task
.
create
<
Result
<
DxFile
>>
(
'
Parse
Cube
'
,
taskCtx
=>
{
return
Task
.
create
<
Result
<
DxFile
>>
(
'
Parse
DX
'
,
taskCtx
=>
{
if
(
typeof
data
===
'
string
'
)
return
parseText
(
taskCtx
,
data
,
name
);
return
parseBinary
(
taskCtx
,
data
,
name
);
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment