mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2025-07-12 07:49:57 +02:00
add other
cut and get last column
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user