Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WebMMB-php
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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ý
WebMMB-php
Commits
1df84ab8
Commit
1df84ab8
authored
3 years ago
by
Michal Malý
Browse files
Options
Downloads
Patches
Plain Diff
Update example in README
parent
90d72f06
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+20
-6
20 additions, 6 deletions
README.md
with
20 additions
and
6 deletions
README.md
+
20
−
6
View file @
1df84ab8
...
@@ -30,13 +30,26 @@ try {
...
@@ -30,13 +30,26 @@ try {
'UACGUAAGUA'
,
// Sequence
'UACGUAAGUA'
,
// Sequence
2639
// Author number of the first residue
2639
// Author number of the first residue
);
);
// NtC to apply on structural conformation
// Specify double helix pairing
$ntcs
=
[
$dh
=
new
\WebMMB\DoubleHelix
(
new
\WebMMB\NtC
(
'A'
,
$rna
->
authToSeq
(
2639
),
$rna
->
authToSeq
(
2642
),
'AA00'
,
1.5
),
'A'
,
new
\WebMMB\NtC
(
'A'
,
$rna
->
authToSeq
(
2642
),
$rna
->
authToSeq
(
2643
),
'OP03'
,
1.5
),
$rna
->
authToSeq
(
2639
),
new
\WebMMB\NtC
(
'A'
,
$rna
->
authToSeq
(
2643
),
$rna
->
authToSeq
(
2644
),
'AA08'
,
1.5
),
$rna
->
authToSeq
(
2641
),
new
\WebMMB\NtC
(
'A'
,
$rna
->
authToSeq
(
2644
),
$rna
->
authToSeq
(
2648
),
'AA00'
,
1.5
)
'A'
,
$rna
->
authToSeq
(
2648
),
$rna
->
authToSeq
(
2646
)
);
// NtCs to apply on structural conformation
$conformations
=
[
new
\WebMMB\NtCConformation
(
'A'
,
$rna
->
authToSeq
(
2639
),
$rna
->
authToSeq
(
2642
),
'AA00'
,
1.5
),
new
\WebMMB\NtCConformation
(
'A'
,
$rna
->
authToSeq
(
2642
),
$rna
->
authToSeq
(
2643
),
'OP03'
,
1.5
),
new
\WebMMB\NtCConformation
(
'A'
,
$rna
->
authToSeq
(
2643
),
$rna
->
authToSeq
(
2644
),
'AA08'
,
1.5
),
new
\WebMMB\NtCConformation
(
'A'
,
$rna
->
authToSeq
(
2644
),
$rna
->
authToSeq
(
2648
),
'AA00'
,
1.5
)
];
];
$ntcs
=
new
\WebMMB\NtCs
(
$conformations
,
// List of NtC conformations to apply
3000
// NtC force scale factor - 3000 is the recommended default value
);
// Create StandardCommands object
// Create StandardCommands object
$commands
=
new
\WebMMB\StandardCommands
(
$commands
=
new
\WebMMB\StandardCommands
(
1
,
// First stage
1
,
// First stage
...
@@ -46,6 +59,7 @@ try {
...
@@ -46,6 +59,7 @@ try {
);
);
// Set up additional parameters
// Set up additional parameters
$commands
->
compounds
=
[
$rna
];
// StandardCommands expects an array of compounds
$commands
->
compounds
=
[
$rna
];
// StandardCommands expects an array of compounds
$commands
->
double_helices
=
[
$dh
];
$commands
->
ntcs
=
$ntcs
;
$commands
->
ntcs
=
$ntcs
;
// Start the job
// Start the job
...
...
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