Closed vertesy closed 3 years ago
Example:
>rna17099 gene=TMEM63C CDS=299-2713
>rna.+\ gene=
result:
>TMEM63C CDS=299-2713
CDS=.*
gene=TMEM63C
Use SED to in-place change gene names in 2 steps
Incorrect name
Example:
>rna17099 gene=TMEM63C CDS=299-2713
Remove prefix, keep >
>rna.+\ gene=
result:
>TMEM63C CDS=299-2713
Remove suffix
CDS=.*
result:
gene=TMEM63C