• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux Bio::Tools::GuessSeqFormat Download

Bio::Tools::GuessSeqFormat

May 21, 2009
This software module assists in identifying the sequence formatting of a given content, be it in file, string or filehandle format, helping users to streamline their workflow and improve the accuracy of data processing.
Version 1.6.0
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by Christopher Fields
I recently came across Bio::Tools::GuessSeqFormat, a Perl module that offers an easy way to determine the sequence format of a file, a string, or through a filehandle. The module provides multiple SYNOPSIS examples to demonstrate its capabilities.

One way to guess the format of a flat file, given a filename, is through the following code snippet:

```
my $guesser = Bio::Tools::GuessSeqFormat->new( -file => $filename );
my $format = $guesser->guess;
```

Alternatively, guessing the format from an already open filehandle is also possible with the following code:

```
my $guesser = Bio::Tools::GuessSeqFormat->new( -fh => $filehandle );
my $format = $guesser->guess;
```

If the filehandle is seekable (STDIN isn't), it will be returned to its original position. The module can also guess the format of one or several lines of text (with embedded newlines). Simply use the code below:

```
my $guesser = Bio::Tools::GuessSeqFormat->new( -text => $linesoftext );
my $format = $guesser->guess;
```

Another way to use Bio::Tools::GuessSeqFormat is to create a Bio::Tools::GuessSeqFormat object and set the filename, filehandle, or line to parse afterwards:

```
my $guesser = Bio::Tools::GuessSeqFormat->new();
$guesser->file($filename);
$guesser->fh($filehandle);
$guesser->text($linesoftext);
```

To guess in one go, given a filename, this code can be used:

```
my $format = Bio::Tools::GuessSeqFormat->new( -file => $filename )->guess;
```

Bio::Tools::GuessSeqFormat tries to guess the format ("swiss", "pir", "fasta" etc.) of the sequence or MSA in a file, in a scalar, or through a filehandle. The guess() method of a Bio::Tools::GuessSeqFormat object will examine the data, line by line, until it finds a line to which only one format can be assigned. If no conclusive guess can be made, undef is returned.

Overall, Bio::Tools::GuessSeqFormat is a useful module for anyone working with biological data and needing to determine the format of a file or sequence in a quick and efficient manner.
What's New

Version 1.6.0: N/A

Free Download 6.5M
300
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    155
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    92
  4. SlideMap 1.2.2
    82
  5. CherryTV 0.1
    81
  6. porm r2
    79
  7. Swiftfox 3.0b5pre-2
    77
  8. Java Games 1.0
    76
  9. Clewarecontrol 0.8
    75
  10. fuseftp 0.8
    74

Related Downloads

SQLOne
SQLOne is a multi-database search engine software that allows users to search ...
Scotland Yard
Scotland Yard is a Java-based game that simulates the popular board game ...
TurquoiseCRM
TurquoiseCRM is a PHP-based, MySQL-integrated, and Apache-supported CRM tool that's easy to ...
GMP compiler
The GMP compiler tool streamlines the application of the GNU multiple precision ...
Invocation Programming Language
Invocation Programming Language facilitates development and testing with its development environment and ...
iDVR Video Surveillance System
iDVR is a software designed for video surveillance purposes.
CommandCenter NOC
"Enhance your network performance effortlessly with the CommandCenter NOC - a comprehensive ...
iRiver iFP open-source driver
iRiver iFP is an open-source driver for iRiver iFP MP3 players, designed ...
Arcangel
Arcangel is a software plugin that utilizes Jack effect and LADSPA technology ...
TraitsBackendWX
WxPython provides a backend for the Pyface Traits and TraitsGUI libraries, enabling ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.