mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 21:07:00 +00:00
add other
cut and get last column
This commit is contained in:
parent
f8b83766ca
commit
0c57242c01
@ -1317,6 +1317,11 @@ AAAABBBBCCCCDDDD
|
|||||||
```bash
|
```bash
|
||||||
cat file.fastq | paste - - - - | sed 's/^@/>/g'| cut -f1-2 | tr '\t' '\n' >file.fa
|
cat file.fastq | paste - - - - | sed 's/^@/>/g'| cut -f1-2 | tr '\t' '\n' >file.fa
|
||||||
```
|
```
|
||||||
|
#####cut and get last column
|
||||||
|
```bash
|
||||||
|
cat file|rev | cut -d/ -f1 | rev
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##System
|
##System
|
||||||
|
Loading…
Reference in New Issue
Block a user