Change casestep 1 of 4 · beginner
Support
The command is shown. Click it to run, or type your own.
By the end of this lesson you can
- Map one set of characters to another with
tr 'A-Z' 'a-z' - Remove characters entirely with
tr -d - Collapse runs of repeats with
tr -s - Slot
trinto a longer pipeline
Before you startThe pipe |, plus cut, sort, and uniq.
tr 'A-Z' 'a-z' maps every uppercase letter to lowercase. The two sets line up position by position.
Lowercase the gene names on chromosome 1.
BRCAA-Zbrcaa-zNote
Unlike most tools, tr won't take a file name, it reads only from standard input. That's why every tr command starts with something feeding it, usually cat file | or an earlier stage of a pipeline.
Type a command, or click the suggested one. ↑/↓ recall history, Tab completes file names. New to this? Hit Explain this command to see it in plain English.
workspace/shared/data0 files
Booting the WebAssembly runtime…