Entering edit mode
3.0 years ago
harry
▴
40
I have a fasta sequence in which some sequence doesn't contain "ATGC" like below so I want to remove all fasta sequences from my file which doesn't contain the proper sequence:-
>hsa-NHS_0029
partial
Thanks in advance
partial has two 'a's and one 't' in it. Try
it doesn't remove those fasta sequences with a header in my output file.
Please post example fasta file, code you have run and output from example fasta file.
Below is the example fasta file in which you can see a fast sequence is "partial" which is not actually a fast sequence and I want to remove all this sequence from my fasta file with a header.
As you suggested a seqkit command, I ran it but it don't remove those sequences from my file.
So I want the output is like below :- In which the "partial" fasta sequence is removed with a header.
do you really have string 'partial' as your sequence? didn't understand that. Here is the solution: