[EMBOSS] Antwort: extractseq
david.bauer at bayerhealthcare.com
david.bauer at bayerhealthcare.com
Wed Nov 25 07:04:45 UTC 2009
Hi ZL,
the input for extracseq is 'sequence' and not 'seqall' so it works only on
a single sequence.
You could use something like this to loop through your multiple fasta file
(the example returns the first 30 bases of each of 3 sequences contained
in test.fa).
perl -e 'for($I=0;$I<3;$I++){$seq = `skipseq test.fa -skip $I | seqret
-filter -firstonly | extractseq -filter -region 1-30`; print $seq}'
Cheers,
David.
emboss-bounces at lists.open-bio.org schrieb am 11/24/2009 06:16:07 PM:
> Dear EMBOSS Users,
>
> Is it possible to use extractseq to extract multiple regions from a
> multi-fasta file according the headers? Thank you.
>
> Cheers,
> ZL
>
> _______________________________________________
> EMBOSS mailing list
> EMBOSS at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/emboss
More information about the EMBOSS
mailing list