msgfPar-class | R Documentation |
This class collects and stores parameters for an MS-GF+ analysis and is the starting point for peptide identification
## S4 method for signature 'msgfPar'
show(object)
## S4 method for signature 'msgfPar'
length(x)
## S4 method for signature 'msgfPar'
getMSGFpar(object)
## S4 method for signature 'msgfPar'
runMSGF(object, rawfiles, savenames, import = TRUE,
memory = 10000, async = FALSE, msgfPath)
object |
An msgfPar object |
x |
An msgfPar object |
rawfiles |
A character vector holding the filepath to the spectrum files to be analysed (currently supported formats: *.mzML, *.mzXML, *.mgf, *.ms2, *.pkl or *_dta.txt) |
savenames |
An optinal vector of same length as rawfiles. Specifies the name used to save the results. If omitted the results will be saved with the same name as the rawfile, but with an .mzid extension. |
import |
Logical (default=TRUE). Should the results be imported in to R after the analysis is finished. |
memory |
An integer (default=10000). How much memory should be allocated to the java virtual machine during execution (in mb) |
async |
An Logical (default=FALSE). Should MS-GF+ be run asynchronously? |
msgfPath |
The path to an alternative MSGFPlus.jar file if the bundled one is not desired |
This class contains a range of other classes, each handling a different set of parameters. Often these classes are simple containers that only takes care of errorchecking and generating command line arguments, but in some cases, as with msgfParModificationList, the class is a bit more complex.
length
: 1 if a database is defined, 0 otherwise.
getMSGFpar
: A stringified version of the parameters compliant
with MS-GF+.
runMSGF
: If import=TRUE
an mzID or mzIDCollection
object. If async=TRUE
an msgfAsync object. Otherwise NULL
show
: Short summary of msgfPar object
length
: Report the length of an msgfPar object
getMSGFpar
: Get system
compliant function call
runMSGF
: Initiate an MS-GF+ analysis using the selected msgfPar
object
database
The location of the database fasta file used for the analysis.
tolerance
An msgfParTolerance
object holding the m/z tolerance
used in the search.
isotopeError
An msgfParIsotopeError
object holding the isotope
errors permitted in the search.
tda
An msgfParTda
object saying whether FDR should be estimated
using the target-decoy approach.
fragmentation
An msgfParFragmentation
object holding the type of
fragmentation expected from the experiment.
instrument
An msgfParInstrument
object holding which type of
instrument was used for collecting the data.
enzyme
An msgfParEnzyme
object holding which enzyme was used for
digestion
protocol
An msgfParProtocol
object defining whether a specific
protocol should be used in the search.
ntt
An msgfParNtt
object defining the number of tolerable
termini allowed in the peptides.
modification
An msgfParModificationList
object holding the
modifications accepted in the search.
lengthRange
An msgfParLengthRange
object setting the limits on
the peptide length in residues that the search allows.
chargeRange
An msgfParChargeRange
object defining which charges
should be included in the search.
matches
An msgfParMatches
object defining the number of matches
per PSM that gets reported in the output.
Objects can be created using the msgfPar
constructor, or with
msgfParGUI
for a simple graphical user interface
http://proteomics.ucsd.edu/Software/MSGFPlus.html
msgfParGUI
Other msgfParClasses: msgfParChargeRange-class
,
msgfParEnzyme-class
,
msgfParFragmentation-class
,
msgfParInstrument-class
,
msgfParIsotopeError-class
,
msgfParLengthRange-class
,
msgfParMatches-class
,
msgfParModification-class
,
msgfParModificationList-class
,
msgfParNtt-class
,
msgfParProtocol-class
,
msgfParTda-class
,
msgfParTolerance-class
,
msgfPar
parameters <- msgfPar(
database=system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta'),
tolerance='20 ppm',
instrument='TOF',
enzyme='Lys-C'
)
getMSGFpar(parameters)
## Not run:
parameters <- msgfPar(
database=system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta'),
tolerance='20 ppm',
instrument='TOF',
enzyme='Lys-C'
)
runMSGF(parameters, c('file1.mzML', 'file2.mzML'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.