Use when a task needs to return the reverse complement of a DNA sequence. Triggers on: bioinformatics, dna, string-processing, sequence, cli-candidate.
Return the reverse complement of a DNA sequence.
View help (prints usage to stdout): python3 scripts/reverse_complement_dna.py --help
Run with a DNA sequence (normal results go to stdout; errors go to stderr): python3 scripts/reverse_complement_dna.py --sequence ACGTtgca --output json
On success, writes the reverse-complemented sequence to stdout.
Example stdout (JSON output): {"reverse_complement":"tgcaACGT"}
On failure, writes an error message prefixed with "Error:" to stderr and exits with code 1.
Use when:
Do not use when: