Hello.  I have a FlexibleAlignment of 20 sequences, and want to get a slice
of it:
>Seq1
nactatcgg...atcagcgtatctgac
>Seq2
nactatcgg...atcagcgtatctgac
...
>Seq19
nactatcgg...atcagcgtatctgac
>Seq20
nactatcgg...atcagcgtatctgac

So a slice of the Location(1,5) of this alignment should look like:
>Seq1
nacta
>Seq2
nacta
...
>Seq19
nacta
>Seq20
nacta

How to do this?  Alignment.subAlignment(null, Location(1,5)) returns an
alignment containing all the full-length sequences (presumably because all
the sequences have symbols between positions 1 and 5).

Any suggestions would be greatly appreciated.  
Thanks,
Ed
--
View this message in context: 
http://www.nabble.com/Getting-a-Slice-of-an-Alignment-t1849222.html#a5047818
Sent from the BioJava forum at Nabble.com.

_______________________________________________
Biojava-l mailing list  -  [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l

Reply via email to