fq2fa.pl 144 B

123456789101112
  1. #!/usr/bin/perl -w
  2. my $count=0;
  3. while(<>){
  4. if($count%4==0){
  5. print ">", substr($_, 1);
  6. } elsif($count%4==1){
  7. print $_;
  8. }
  9. $count++;
  10. }
  11. 1;