Rechercher une page de manuel
GO::Utils::File.3pm
Langue: en
Version: 2007-03-18 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
GO::Utils::File - simply utility module for dealing with file parsingSYNOPSIS
GO::Utils::File provides a single exported function for retrieving the lines out of a file, that can be easily reused.It will simply expect one gene name to exist per line. It should deal correctly with Mac and DOS line-endings, and will remove whitespace from the beginning and end of the names, then return the gene names as an array.
use GO::Utils::File qw(GenesFromFile); my @genes = GenesFromFile($filename);
GenesFromFile
GenesFromFile returns an array of gene names that were read from the supplied file. It assumes one name per line.Usage:
my @genes = GenesFromFile($filename);
AUTHOR
Gavin Sherlock; sherlock@genome.stanford.eduContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre