Update README.md

This commit is contained in:
kojix2 2021-06-14 11:19:40 +09:00 committed by GitHub
parent bee25d6e5d
commit 730337a8ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,15 +113,15 @@ cat gencode.v35.annotation.gff3 \
</p> </p>
In this example, YouPlot counts the number of chromosomes where genes are located. In this example, YouPlot counts the number of chromosomes where genes are located.
* [GENCODE - Human Release 38](https://www.gencodegenes.org/human/) * [GENCODE - Human Release](https://www.gencodegenes.org/human/)
Note: `count` is not very fast because it runs in a Ruby script. Note: `count` is not very fast because it runs in a Ruby script.
This is fine in most cases, as long as the data size is small. If you want to visualize huge data, it is faster to use a combination of common Unix commands as shown below. This is fine in most cases, as long as the data size is small. If you want to visualize huge data, it is faster to use a combination of common Unix commands as shown below.
```sh ```sh
cat gencode.v35.annotation.gff3 | grep -v '#' | grep 'gene' | cut -f1 \ cat gencode.v35.annotation.gff3 | grep -v '#' | grep 'gene' | cut -f1 \
| sort | uniq -c | sort -nrk2 | awk '{print $2,$1}' \ | sort | uniq -c | sort -nrk1 \
| uplot bar -d ' ' -t "The number of human gene annotations per chromosome" -c blue | uplot bar --fmt yx -d ' ' -t "The number of human gene annotations per chromosome" -c blue
``` ```
## Usage ## Usage