NAME

Metabolomics::Banks::Knapsack - Perl extension for Knapsack bank

VERSION

Version 0.1

SYNOPSIS

use Metabolomics::Banks::Knapsack;

DESCRIPTION

Metabolomics::Banks::Knapsack is a full package for Perl allowing to build a generic Perl bank object from Blood exposome bank resource.

EXPORT

SUBROUTINES/METHODS

METHOD new

## Description : new
## Input : $self
## Ouput : bless $self ;
## Usage : new() ;

METHOD __refKnapsackEntry__

## Description : init a new blood exposome entry
## Input : void	
## Output : refEntry
## Usage : $self->__refKnapsackEntry__() ;

METHOD _getEntry_INCHIKEY

## Description : PRIVATE method _getEntry_INCHIKEY on a refKnapsackEntry object
## Input : void
## Output : $INCHIKEY
## Usage : my ( $INCHIKEY ) = $entry->_getEntry_INCHIKEY () ;

METHOD _getEntry_EXACT_MASS

## Description : PRIVATE method _getEntry_EXACT_MASS on a refKnapsackEntry object
## Input : void
## Output : $EXACT_MASS
## Usage : my ( $EXACT_MASS ) = $entry->_getEntry_EXACT_MASS () ;

METHOD _getEntry_KNAPSACK_ID

## Description : PRIVATE method _getEntry_CAS on a refKnapsackEntry object
## Input : void
## Output : $KNAPSACK_ID
## Usage : my ( $KNAPSACK_ID ) = $entry->_getEntry_KNAPSACK_ID () ;

METHOD _getEntry_CAS

## Description : PRIVATE method _getEntry_CAS on a refKnapsackEntry object
## Input : void
## Output : $CAS
## Usage : my ( $CAS ) = $entry->_getEntry_CAS () ;

METHOD _getEntry_MOLECULAR_FORMULA

## Description : PRIVATE method _getEntry_MOLECULAR_FORMULA on a refKnapsackEntry object
## Input : void
## Output : $COMPOUND_FORMULA
## Usage : my ( $COMPOUND_FORMULA ) = $entry->_getEntry_MOLECULAR_FORMULA () ;

METHOD _getEntry_COMPOUND_NAME

## Description : PRIVATE method _getEntry_COMPOUND_NAME on a refKnapsackEntry object
## Input : void
## Output : $COMPOUND_NAME
## Usage : my ( $COMPOUND_NAME ) = $entry->_getEntry_COMPOUND_NAME () ;

METHOD getMetabolitesFromSource

## Description : get the list of metabolite entries from $source file and set the Metabolomics::Banks::Knapsack object
## Input : $source (file from the metabolomics-references project)
## Output : an int as $entriesNb
## Usage : my ( $entriesNb ) = $self->getMetabolitesFromSource ( $source ) ;

METHOD buildTheoPeakBankFromEntries

## Description : building from a Metabolomics::Banks::Knapsack object, a bank integrating each potential entry in a metabolomics format (POSITIVE or NEGATIVE forms)
## Input : $queryMode [POS|NEG]
## Output : int as $entryNb
## Usage : my $nb = $oBank->buildTheoPeakBankFromEntries() ;

AUTHOR

Franck Giacomoni, <franck.giacomoni at inrae.fr>

SEE ALSO

All information about Metabolomics::Fragment would be find here: https://services.pfem.clermont.inra.fr/gitlab/fgiacomoni/metabolomics-fragnot

BUGS

Please report any bugs or feature requests to bug-Metabolomics-Fragment-Annotation at rt.cpan.org, or through the web interface at https://rt.cpan.org/Public/Dist/Display.html?Name=Metabolomics-Fragment-Annotation. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Metabolomics::Fragment::Annotation

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

CeCILL Copyright (C) 2019 by Franck Giacomoni

Initiated by Franck Giacomoni

followed by INRA PFEM team

Web Site = INRA PFEM