Method foreach_tandem Class G::Seq::Tandem Function Finds each length and pattern of repeats from a sequence. Description This method is able to extract simple repeats with various lengths. It uses find_tandem, and is able to extract apattern within a specifized range of lengths. When pattens with different lengths are exist at the same position, the longer repeating pattern is extracted. Requirements modules SubOopt.pm applications none data none Parameters essential first pointer GENOME G's instance option MaxLength int max_length The maximum length of a repeating unit MinLength int min_length The minimum length of a repeating unit output string [stdout or f] default=stdout filename string file_name default=tandem.csv Returns first array Repeat Array of tandem repeats Usage (array Repeat)=&foreach_tandem(pointer GENOME, -MaxLenght=>3, -MinLength=>2, -output='stdout', -filename=>'tandem.csv'); Input file none Output file csv file in text format. References none Comments none Authors This method was written by Koya Mori(mory@g-language.org) at Institute for Advanced Biosciences Keio Univ. History Written 29 June 2001 - Koya Mori