Hello evrybody, I am currently using blastn on several contigs, with -outfmt 6
, and I get something like:
ID_1 xxx xxx xxx xxx
ID_1 xxx xxx xxx xxx
ID_1 xxx xxx xxx xxx
ID_1 xxx xxx xxx xxx
ID_1 xxx xxx xxx xxx
ID_1 xxx xxx xxx xxx
ID_2 xxx xxx xxx xxx
ID_2 xxx xxx xxx xxx
ID_2 xxx xxx xxx xxx
ID_2 xxx xxx xxx xxx
ID_2 xxx xxx xxx xxx
ID_2 xxx xxx xxx xxx
ID_2 xxx xxx xxx xxx
Now, I would like to limit the number of hits returned in the output (i.e. the nr of lines for each ID) because the output file is too huge and I don't have enough memory to store them all and filtering it later. Is there any way to do it? I already tried with the parameters -max_target_seqs
and -max_hsps
, but it's not working.
-num_alignments
will do the jobThank you, I'll give it a try!
What do you mean , "it's not working" ? Why do you think so?
I tried to use them on a subset of sequences, and the number of results in output for each sequence was the same with or without those parameters