A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/omssa_8hpp_source.html below:

NCBI C++ ToolKit: src/algo/ms/omssa/omssa.hpp Source File

72 #define MAXMISSEDCLEAVE 4 86 typedef

void (*

TOMSSACallback

)(

int

TotalSeq,

int

Completed,

void

* Anything);

128  int

InitBlast(

const char

*blastdb,

bool

use_mmap =

false

);

134  static void

ResetGlobals(

void

);

151  void

*CallbackData = 0);

168  void

*CallbackData = 0);

194  bool

& SetRankScore(

void

);

199  bool

& SetPoissonOnly(

void

);

204  const bool

GetPoissonOnly(

void

)

const

;

209  bool

& SetIterative(

void

);

214  const bool

GetIterative(

void

)

const

;

216  virtual void

*

Main

(

void

);

217  virtual void OnExit

(

void

);

220

cout <<

"Still availiable!\n"

;

236  void

DoubleCompare(list<CMSMatchedPeakSet *> &SingleForward,

237

list<CMSMatchedPeakSet *> &SingleBackward,

238

list<CMSMatchedPeakSet *> &Double,

252  void

MatchAndSort(

CMSPeak

* Peaks,

256  const

TSeriesChargePairList::const_iterator &iPairList,

257

list<CMSMatchedPeakSet *> &SingleForward,

258

list<CMSMatchedPeakSet *> &SingleBackward);

271  void

CountModSites(

int

&NumModSites,

280  void

SetIons(list <EMSIonSeries> & Ions);

285  int

CreateLadders(

const char

*

Sequence

,

int

iSearch,

int

position,

287  int

*Masses,

int

iMissed,

CAA

& AA,

296  int

CompareLadders(

int

iMod,

301  bool

CompareLaddersTop(

int

iMod,

320  void

InitModIndex(

int

*ModIndex,

326  unsigned

MakeBoolMask(

int

*ModIndex,

int

iMod);

327  void

MakeBoolMap(

bool

*ModMask,

int

*ModIndex,

int

& iMod,

int

& NumMod);

329  bool

CalcModIndex(

int

*ModIndex,

336  unsigned

MakeIntFromBoolMap(

bool

*ModMask,

int

& NumMod);

337  const int

Getnumseq(

void

)

const

;

352  static void

MakeModString(

string

& seqstring,

string

& modseqstring,

CMSHit

*MSHit);

367  void

WriteBioseqs(

void

);

381  void

DeleteVariableOverlap(

int

& NumMod,

397  void

UpdateWithNewPep(

int

Missed,

398  const char

*PepStart[],

399  const char

*PepEnd[],

408  void

CreateModCombinations(

int

Missed,

409  const char

*PepStart[],

413  int

NumMassAndMask[],

422  void

InitLadders(std::list <EMSIonSeries> & Ions);

428  void

MakeOidSet(

void

);

436  const bool

ReSearch(

const int

Number)

const

;

451  bool

& SetRestrictedSearch(

void

);

456  const bool

GetRestrictedSearch(

void

)

const

;

464  Int1

GetLadderCalc(

int i

)

const

;

471  Int1

& SetLadderCalc(

int i

);

478  void

ClearLadderCalc(

int

Max);

535

SetLadderContainer(

void

);

541

GetLadderContainer(

void

)

const

;

661  int

j(0),

i

, NumFixed;

662  for

(

i

= 0;

i

< NumMod;

i

++) {

663  if

(ModList[

i

].GetFixed() == 1) {

669  const char

*OldSite(0);

670  for

(

i

= 0;

i

< NumMod && j - NumFixed <= iMod;

i

++) {

672  if

(ModList[

i

].GetFixed() != 1 && ModList[

i

].GetSite() != OldSite) {

686  for

(j = 0; j < NumMod; j++)

689  for

(j = 0; j <= iMod; j++)

690

ModMask[ModIndex[j]] =

true

;

699  for

(; j <= iMod; j++)

700

retval |= 1 << ModIndex[j];

708  for

(j = 0; j < NumMod; j++)

709  if

(ModMask[j]) retval |= 1 << j;

716  int

& iMod,

int

& NumMod,

725  for

(j = NumFixed; j <= iMod + NumFixed; j++) {

726

OldIndex = ModIndex[j];

727  if

(j == iMod + NumFixed) TopSite = 0;

728  else

TopSite = ModList[ModIndex[j+1]].

GetSite

();

733

}

while

(ModList[ModIndex[j]].GetFixed() == 1);

737  if

(ModIndex[j] < NumMod && ModList[ModIndex[j]].GetSite() != TopSite) {

742  const char

*OldSite(0);

743  for

(

i

= NumFixed;

i

< j;

i

++) {

747  while

(ModList[Low].GetFixed() == 1 ||

748

OldSite == ModList[Low].GetSite())

752

OldSite = ModList[ModIndex[

i

]].

GetSite

();

760

ModIndex[j] = OldIndex;

927  static void

SaveOneFile(

CMSSearch

&MySearch,

928  const string

Filename,

943  static int

ReadModFiles(

const string

& ModFileName,

944  const string

& UserModFileName,

945  const string

&

Path

,

955  static void

ReadTaxFile(

string

& Filename,

TTaxNameMap

& TaxNameMap);

972  static int

ReadFile(

const string

& Filename,

986  static int

LoadAnyFile(

CMSSearch

& MySearch,

988  bool

* SearchEngineIterative = 0);

997  static int

ReadSearchRequest(

const string

& Filename,

1009  static int

ReadCompleteSearch(

const string

& Filename,

1021  static int

SaveAnyFile(

CMSSearch

& MySearch,

1038  static void

CreateSearchSettings(

string

FileName,

class to contain preliminary hits.

@MSHits.hpp User-defined methods of the data storage class.

container for a set of matches

class to hold spectral data for filtering and statistical characterization

contains information for a post translational modification at a particular sequence site

TSite GetSite(void) const

Get the site position.

class to hold various helper functions for CSearch

map< int, string > TTaxNameMap

read in taxonomy file

bool & SetRankScore(void)

Sets the scoring to use rank statistics.

unsigned MakeBoolMask(int *ModIndex, int iMod)

bool & SetIterative(void)

Sets iterate search.

CMSResponse::TOidSet & SetOidSet(void)

get the oidset

const CLadderContainer & GetLadderContainer(void) const

get the ladder container

const bool GetIterative(void) const

Gets iterate search.

Int1 & SetLadderCalc(int i)

Set the bit that indicates whether a ladder was calculated.

CRef< CMSSearchSettings > MySettings

Search params.

AutoPtr< Int1, ArrayDeleter< Int1 > > LadderCalc

bool array that indicates if the ladders been calculated

CLadderContainer & SetLadderContainer(void)

set the ladder container

bool CalcModIndex(int *ModIndex, int &iMod, int &NumMod, int NumFixed, int NumModSites, CMod CModList[])

void MakeBoolMap(bool *ModMask, int *ModIndex, int &iMod, int &NumMod)

CRef< CMSResponse > MyResponse

Search response.

CRef< CMSResponse > & SetResponse(void)

Set search response.

bool RestrictedSearch

is this a oid restricted search

CRef< CSeqDB > rdfp

blast library

bool UseRankScore

boolean to turn on rank scoring

bool CheckFixed(int i, int NumFixed, CMod ModList[], int *ModIndex)

Checks to see that given modindex points to a site shared by a fixed mod.

CConstRef< CMSRequest > GetRequest(void) const

Get search request.

CLadderContainer LadderContainer

ion series mass ladders

Int1 GetLadderCalc(int i) const

Get the bit that indicates whether a ladder was calculated.

unsigned MakeIntFromBoolMap(bool *ModMask, int &NumMod)

CRef< CMSRequest > MyRequest

Search request.

TMassMask & SetMassAndMask(int i, int j)

Set the mask and mass of mod bit array.

void ClearLadderCalc(int Max)

Clear the ladder calc array up to max index.

CMassArray PrecursorMassArray

CConstRef< CCleave > GetEnzyme(void) const

Get search enzyme.

bool & SetRestrictedSearch(void)

is this search restricted to the oid set?

CRef< CMSRequest > & SetRequest(void)

Set search request.

void InitModIndex(int *ModIndex, int &iMod, int NumMod, int NumModSites, CMod ModList[])

CConstRef< CMSSearchSettings > GetSettings(void) const

Get search settings.

CConstRef< CMSResponse > GetResponse(void) const

Get search response.

const bool GetPoissonOnly(void) const

Gets the scoring to use rank statistics only with Poisson.

const CMSResponse::TOidSet & GetOidSet(void) const

get the oidset

const bool GetRestrictedSearch(void) const

is this search restricted to the oid set?

static int iSearchGlobal

Tracks the iSearch number for all search threads.

CRef< CCleave > & SetEnzyme(void)

Set search enzyme.

CMSResponse::TOidSet OidSet

set of oids to be searched

CRef< CMSSearchSettings > & SetSettings(void)

Set search settings.

CRef< CMSModSpecSet > initModset

TOMSSACallback initCallback

const int Getnumseq(void) const

CRef< CMSRequest > initRequestIn

These are so CSearch::Main() can call CSearch::Search() in a threaded run, this requires CSearch::Set...

CRef< CMSResponse > initResponseIn

int MaxModPerPep

maximum number of mod combinations per peptide

bool Iterative

boolean to turn on iterative search

AutoPtr< TMassMask, ArrayDeleter< TMassMask > > MassAndMask

contains bit mask of modifications and resulting mass

bool & SetPoissonOnly(void)

Sets the scoring to use rank statistics only with Poisson.

static int MaxMZ

maximum m/z value of all spectra precursors used to bound non-specific cleavage searches

static CRef< CMSPeakSet > SharedPeakSet

CRef< CCleave > Enzyme

the enzyme in use

bool PoissonOnly

boolean to only use Poisson score when using Rank scoring

CRef< CMSSearchSettings > initSettingsIn

int ThreadNum

The threadid number.

Include a standard set of the NCBI C++ Toolkit most basic headers.

string Path(const string &dir, const string &file)

element_type * get(void) const

Get pointer.

ESerialDataFormat

Data file format.

int8_t Int1

1-byte (8-bit) signed integer

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define END_SCOPE(ns)

End the previously defined scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define BEGIN_SCOPE(ns)

Define a new scope.

virtual void OnExit(void)

Override this to execute finalization code.

virtual void * Main(void)=0

Derived (user-created) class must provide a real thread function.

#define NCBI_XOMSSA_EXPORT

list< CRef< CMSOutFile > > TOutfiles

EMSSpectrumFileType

Access to EMSSpectrumFileType's attributes (values, names) as defined in spec.

EMSPeakListTypes

enum that describes type of peak list

Defines the CNcbiApplication and CAppException classes for creating NCBI applications.

Defines command line argument related classes.

Defines NCBI C++ diagnostic APIs, classes, and macros.

Defines unified interface to application:

Defines classes: CDirEntry, CFile, CDir, CSymLink, CMemoryFile, CFileUtil, CFileLock,...

Floating-point support routines.

Multi-threading – classes, functions, and features.

Useful/utility classes and methods.

struct _MassMask TMassMask

void(* TOMSSACallback)(int TotalSeq, int Completed, void *Anything)

progress callback for CSearch

multimap< double, CMSHit * > TScoreList

Defines BLAST database access classes.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4