Software for cleaning FASTA files
1
0
Entering edit mode
6.8 years ago
l.souza ▴ 80

What software can I use to remove sequences:

  • with a lot of unkown nucleotides (N)
  • duplicated
  • too short

?

alignment sequences cleaning • 1.8k views
ADD COMMENT
2
Entering edit mode

Hi Lucas Souza,

This question contains insufficient information to get answered. Please elaborate, for example on the technology used for generating the data. We are really bad at reading your mind (that's a bug in biostars which will get fixed in a next release). So for now, put some effort in your question and don't make it hard for people trying to help you.

Cheers,
Wouter

ADD REPLY
0
Entering edit mode

Edited. Is it better?

ADD REPLY
0
Entering edit mode

Obviously, all information you just added is vital for answering the question. By now we have lost 9 hours since you asked the question. Remember this for further questions that it's important to be as informative as possible.

ADD REPLY
0
Entering edit mode

Must you use entire genomes? Are there particular genes that are perhaps informative enough?

ADD REPLY
0
Entering edit mode

The entire genome produces a single polyprotein that is cleaved in post-translational processes. For this reason I think it would be better to use the entire genome. But I may be wrong with this thinking

ADD REPLY
0
Entering edit mode

Lucas Souza : Please do not change the entire contents of an original question. That makes the chain of responses/comments here meaningless. Consider this a fair warning. I will tag @Istvan to see if he can restore the original question.

ADD REPLY
0
Entering edit mode

Tagging: Istvan Albert

ADD REPLY
2
Entering edit mode
6.8 years ago

Hi Lucas,

You can accomplish most of what you want using the BBMap package.

Filtering Ns and short sequences:

bbduk.sh in=file.fasta out=filtered.fasta maxns=50 minlen=1000

Removing exact duplicates and containments:

dedupe.sh in=file.fasta out=deduped.fasta

Unfortunately BBDuk does not have a mechanism for removing sequences based on the % of Ns, just the absolute number, but I may add that.

ADD COMMENT
1
Entering edit mode

Wait, there is a task that none of the BB-Tools can do? :)

ADD REPLY
0
Entering edit mode

Geez, like I said, I may add it :) I already wrote myself a note!

ADD REPLY

Login before adding your answer.

Traffic: 2931 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6