replacing fasta headers
Hi,
I would like to modify the fasta headers from a file.
I would like to change:
>A0A0F2M4U6|A0A0F2M4U6_SPOSC Endoplasmic reticulum chaperone BiP OS=Sporothrix schenckii 1099-18 OX=1397361 GN=SPSK_04019 PE=3 SV=1
by
>A0A0F2M4U6
Thanks in advance!
format
header
fasta
• 1,249 views
•
link
updated
by
cpad0112
•
written
by
marcus.teixeira •
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
Creating Gene ID and Gene name colum from FASTA IDs
written by WUSCHELI have and proteomics data output file with a Fasta headers column. Each cell has multiple FASTA IDs. How can I extract information and make …
-
How to rearrange fasta headers
written by v.berriosfarias •Hello! I'm building a database of a certain gene family. I downloaded the fastas from uniprot , concatenated the resulting fastas using `cat` and the …
-
R extract gene names and protein descriptions from concatenated fasta headers
written by moritz.lasse •I have a column of fasta headers in uniprot style Some rows are single fasta headers and some multiple fasta headers separated by semicolons: Example …
-
Sort header from the multifasta sequnce file into only gene name
written by k.kathirvel93I have multifasta protein sequences with long headings, but i want to exclude everything and keep only gene name which appears after 'GN= '. Can …
-
combine fasta sequences in combination from two different files
written by shome •I have two files that look as follows: file 1 >sp|P0|H1_HUMAN dhj OS=Homo sapiens OX=9606 GN=CDH1 PE=1 SV=3 MGPWSRSLSALLLLLQVSSWLCQEPEPCHPGFDAESYTFTVPRRHLERGRVLGRVNFEDCTGRQRTAYFSLDTRFKVGTDGVITVKRPLRFHNPQIHFLVYAWDSTYRKFSTKVTLNTVG >sp|Q4|C1_RAT C-1 jkjk OS=Rattus norvegicus OX=10116 …
-
How can i match between a file of IDs and a file of fasta sequences corresponding to the IDs using …
written by yasmineo52 •Hey guys! So i have 2 files: one contains a list of IDs (accessions numbers of Fasta sequences) and the other file contains the Fasta …
-
How can i match between a file of IDs and a file of fasta sequences corresponding to the IDs using …
written by yasmineo52 •Hey guys! So i have 2 files: one contains a list of IDs (accessions numbers of Fasta sequences) and the other file contains the Fasta …
-
removed entrie sequence include specific letters
written by Jason •Hey All I need help with shell command or Perl script. I have 400 sequences and some of these sequences have X,B and Z. I …
-
How do I extract Fasta Sequences based on a list of IDs?
written by a.rexI have a fasta sequence file that looks like this: >sp|P31946|1433B_HUMAN 14-3-3 protein beta/alpha OS=Homo sapiens GN=YWHAB PE=1 SV=3 MTMDKSELVQKAKLAEQAERYDDMAAAMKAVTEQGHELSNEERNLLSVAYKNVVGARRSS WRVISSIEQKTERNEKKQQMGKEYREKIEAELQDICNDVLELLDKYLIPNATQPESKVFY LKMKGDYFRYLSEVASGDNKQTTVSNSQQAYQEAFEISKKEMQPTHPIRLGLALNFSVFY YEILNSPEKACSLAKTAFDEAIAELDTLNEESYKDSTLIMQLLRDNLTLWTSENQGDEGD AGEGEN >sp|P62258|1433E_HUMAN …
-
News: UniProtKB FASTA headers: Addition of NCBI taxonomy identifier
written by Elisabeth GasteigerIn order to avoid ambiguities and simplify parsing, the NCBI taxonomy identifier will be added to UniProtKB FASTA headers. Current format: >db|UniqueIdentifier|EntryName ProteinName OS=OrganismName [GN=GeneName …
This is a frequently asked question. There are many threads on this topic.
A simple
cut -f1 -d "|" your.fa > new.fashould suffice if all fasta headers follow exactly identical pattern.