mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-07-19 21:51:13 +08:00
Update README.md
This commit is contained in:
parent
bee25d6e5d
commit
730337a8ed
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user