[更新]seqTools v3.0

关于seqTools v1.0的详细信息可以参看:对FASTA格式的简单处理与统计
关于seqTools v2.0的详细信息可以参看:[更新]seqTools v2.0

seqTools v3.0新增random功能:从FASTA文件中随机提取一个或多个记录。

下载seqTools v3.0的程序源码

  • seqTools v3.0的使用说明

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Usage:   seqTools.pl 《command》 [《arguments》]
 
Command: format   Format the FASTA record(s).
         revcom   Reverse and complement the FASTA record(s).
         length   Get the length of FASTA record(s).
         content  Calculate the GC content of FASTA record(s).
         search   Find subseq in the FASTA record(s).
         subseq   Extract sub|full-seq from the FASTA record(s).
         random   Take record(s) from a FASTA file randomly.
 
Prerequisites:    1. Getopt::Std. [ALL]
                  2. Bio::Seq. [except RANDOM]
                  3. Tie::File::AnyData::Bio::Fasta, Fcntl, List::Util. [RANDOM]
 
Author:  Yixf, yixf1986@gmail.com
Version: v3.0
 
Notes:  1. A similar webtool developed by lh3: http://lh3lh3.users.sourceforge.net/fasta.shtml
        2. When you search, you can use RegExp supported by Perl.
        3. When you extract the sub|full-seq, you can use RegExp in the Name|ID (-n Name|ID) to match more than one record. But the RegExp must be in the double quotation marks, for example, "chrd+".
        4. The RegExp use case-sensitive mode.
 
Versions: v1.0, 2011-06-01
          v2.0, 2011-11-03
          v3.0, 2012-02-27
  • seqTools.pl random的使用说明

1
2
3
4
5
Usage:    seqTools.pl random [options]
 
Options:  -i STR   Input file in FASTA format.
          -o STR   Output file in FASTA format. [STDOUT]
          -n INT   The number of records. [1]