[Biojava-l] Stranded non-contiguous feature looses its strand in a SubSequence

2002-05-22 Thread Stein Aerts
Does anyone know why, if you make a subsequence, some of the features that are stranded in the original sequence are not stranded anymore in the subsequence? Would there be a workaround? Example: (embl file and the code I used is in attachment) features on the original sequence: ENSG011425

Re: [Biojava-l] Stranded non-contiguous feature looses its strandin a SubSequence

2002-05-22 Thread Matthew Pocock
Hi Stein Aerts, When you make a sub sequence, the code takes that as a request to only tell you about the information in that region. Features that are wholy contained within it will be projected in with all their properties intact. Features overlapping but not contained will be replaced by p

[Biojava-l] Parser failure

2002-05-22 Thread Andrey Zinovyev
Hi! What's wrong with this code: I've got a sequence in GenBank format from ftp://ncbi.nlm.nih.gov/genbank/genomes/C_elegans/CHR_I/worm_X.gbk and tried to parse it with this code: --- import org.biojava.bio.*; import org.biojava.bio.symbol.*; import org.biojava.bio.seq.*; im