Methods
emass(seq, peakDataList, charge, pref_suffInd)
Function to calculate the emass distrubution fo the given sequence
Parameters:
Name | Type | Description |
---|---|---|
seq |
String | Contains the sequence provide by the user |
peakDataList |
Array | Contains the peak list provided by the user |
charge |
Float | Contains the chrage of the ion |
pref_suffInd |
String | Indicator to indiace prefix or suffix |
- Source:
getMassAndIntensity(totDistributionList, aminoAcidDist)
Logic to calculate distribution
Parameters:
Name | Type | Description |
---|---|---|
totDistributionList |
Array | Array with current total distribution |
aminoAcidDist |
Array | Array with existing calculated distribution of amino acid |
- Source:
getMZwithHighInte(totDistributionList, charge, peakDataList)
Code to remove the calculate MZ(mass/charge) value and remove low intensities
Parameters:
Name | Type | Description |
---|---|---|
totDistributionList |
Array | Total distribution calculated |
charge |
Integer | charge for the mass list by user |
peakDataList |
Array | peaklist entered by the user |
- Source:
getNormalizedIntensity(totDistributionList, peakDataList)
Code to normalize the Intensity.
Take the average of intensity from the peaks entered by the user.
Take the average of the calculated distribution for each Array element in the Array.
Make both of them equal and calculating the rest of the
distribution intensity based on the avg value from the peak list.
Parameters:
Name | Type | Description |
---|---|---|
totDistributionList |
Array | Total distribution calculated |
peakDataList |
Array | Peak Data entered by the user |
- Source: