This commit is contained in:
2025-11-25 00:28:51 +08:00
commit eb3f16c30e
406 changed files with 91653 additions and 0 deletions
@@ -0,0 +1,24 @@
#!/usr/bin/env perl
use strict;
use warnings;
main: {
while (<STDIN>) {
unless (/\w/) { next; }
chomp;
my @x = split (/\t/);
my $seq = pop @x;
# make fasta
$seq =~ s/(\S{60})/$1\n/g;
chomp $seq;
print ">" . join (" ", @x) . "\n$seq\n";
}
exit(0);
}