Skip to content
Snippets Groups Projects
Commit 72bdd5bc authored by JonStargaryen's avatar JonStargaryen
Browse files

asaCutoff param

parent 255cc620
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ export const ANVILParams = {
stepSize: PD.Numeric(1, { min: 0.25, max: 4, step: 0.25 }, { description: 'Thickness of membrane slices that will be tested' }),
minThickness: PD.Numeric(20, { min: 10, max: 30, step: 1}, { description: 'Minimum membrane thickness used during refinement' }),
maxThickness: PD.Numeric(40, { min: 30, max: 50, step: 1}, { description: 'Maximum membrane thickness used during refinement' }),
afilter: PD.Numeric(40, { min: 10, max: 100, step: 1 }, { description: 'Absolute ASA cutoff above which residues will be considered' })
asaCutoff: PD.Numeric(40, { min: 10, max: 100, step: 1 }, { description: 'Absolute ASA cutoff above which residues will be considered' })
};
export type ANVILParams = typeof ANVILParams
export type ANVILProps = PD.Values<ANVILParams>
......@@ -81,7 +81,7 @@ function initialize(structure: Structure, props: ANVILProps): ANVILContext {
// keep track of offsets and exposed state to reuse
offsets[m] = l.element;
exposed[m] = AccessibleSurfaceArea.getValue(l, asa) > props.afilter;
exposed[m] = AccessibleSurfaceArea.getValue(l, asa) > props.asaCutoff;
m++;
}
......
......@@ -14,7 +14,7 @@ export interface ANVILContext {
stepSize: number,
minThickness: number,
maxThickness: number,
afilter: number,
asaCutoff: number,
offsets: ArrayLike<number>,
exposed: ArrayLike<boolean>,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment