I don't think this program is doing the right thing, I'm getting the exact sequence with very minor differences and only the header of the sequences are changed to include Reversed
#!/usr/bin/perl
use strict;
use warnings;$ARGV[0] or die "usage: convertFasta.pl FILE\n";
my $file=shift @ARGV;
$/ ="\n>";
open F, "$file" or die;
open A, ">$file.antiparallel" or die;
open I, ">$file.inverse" or die;
open C, ">$file.complement" or die;while(<F>){
my ($id, @seq)=split(/\n/, $_);
my $seq=join"", @seq;
my $seq_complement=$seq;$seq_complement=~ tr/ACGTacgt/TGCAtgca/;
my $seq_inverse= reverse $seq;
my $seq_antiparallel=$seq_inverse;$seq_antiparallel=~ tr/ACGTacgt/TGCAtgca/;
print I "$id\n$seq_inverse";
print C "$id\n$seq_complement";
print A "$id\n$seq_antiparallel";}
It looks like the answer to your question is in the links you provide?
The accepted answer is only for the reverse complement (ie antiparallel). I have tried getting biopieces to work on my system, but with no success.
Your question title states you want a CLI tool. Then you mention Python. Which do you prefer? Biopieces would be the easiest way to go for CLI.