viewing_alignment_files
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| viewing_alignment_files [2021/05/12 13:21] – created 168.91.18.151 | viewing_alignment_files [2023/07/25 12:00] (current) – 134.190.232.186 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | By Joran Martijn | ||
| + | |||
| If you are working through a remote server or computer cluster like Perun or Graham, and you are generating alignment files, you may want to check quickly the quality of your alignment. Is there anything strange, are the sites properly aligned, is there perhaps one sequence that is clearly not aligned? | If you are working through a remote server or computer cluster like Perun or Graham, and you are generating alignment files, you may want to check quickly the quality of your alignment. Is there anything strange, are the sites properly aligned, is there perhaps one sequence that is clearly not aligned? | ||
| Line 8: | Line 10: | ||
| However, this requires a lot of actions and key strokes: | However, this requires a lot of actions and key strokes: | ||
| - | 1. Open a new terminal window | + | - Open a new terminal window |
| - | 2. Look up the location of the alignment file on the remote file system | + | |
| - | 3. Decide where you want to have the file on your own file system | + | |
| - | 4. Invoke the above command | + | |
| - | 5. Type in your password | + | |
| - | 6. Open the alignment file with SeaView or AliView | + | |
| - | 7. Optionally delete the file now that you have seen it | + | |
| As you might imagine, this is not ideal. | As you might imagine, this is not ideal. | ||
| Thankfully, there is a tool available that allows you to view alignment files directly in your terminal, even if they are on a remote system! [[https:// | Thankfully, there is a tool available that allows you to view alignment files directly in your terminal, even if they are on a remote system! [[https:// | ||
| + | |||
| + | See if Alan is installed on Perun already. If not, install it on your home: | ||
| + | |||
| + | < | ||
| + | $ cd | ||
| + | $ mkdir tools | ||
| + | $ cd tools | ||
| + | $ git clone https:// | ||
| + | </ | ||
| + | |||
| + | And add it to your $PATH by adding this to your '' | ||
| + | |||
| + | < | ||
| + | # alan - a command line alignment viewer
| ||
| + | export PATH=“~/ | ||
| + | </ | ||
| + | |||
| + | You can now view your alignment file simply with | ||
| + | < | ||
| + | $ alan < | ||
| + | </ | ||
| + | |||
| + | By default, the coloring of the nucleotides or amino acids can be very bright. | ||
| + | If you wish to use less bright colors, find the '' | ||
| + | |||
| + | < | ||
| + | # the new value of default_p with TEMPERED COLORS
| ||
| + | default_p=" | ||
| + | </ | ||
viewing_alignment_files.1620836518.txt.gz · Last modified: by 168.91.18.151
