Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: IllegalArgumentException when parsing an embl file: msg#00022

java.bio.general

Subject: Re: IllegalArgumentException when parsing an embl file

mark.schreiber@xxxxxxxxxxxxxxxxxx wrote:

Hi Anna -

It seems the problem may be with the EMBL file.

java.lang.IllegalArgumentException: Location [1045891,1046196] is outside
1..1000000

This part indicates BioJava is trying to make a Feature with the Location [1045891,1046196] which is outside the bounds of the available sequence. It is not allowed to create features outside of the available Sequence. Apparently BioJava is able to find 1000000 bases. Is there actually more sequence than this in the EMBL file?


Just a quick observation that might be relevant, it seems that the only place in SimpleFeature that throws an IllegalArgumentException
due to the range being outside the sequence is commented out since some time, with the cvs comment "Various modifications to make
life easier" ( SimpleFeature rev 1.22 ). So this problem seems to have occured for more people, and a quick dirty solution was found.

So, i guess, if Anna is aware of the consequences, ( things might go bad if you want to use these Features ) a solution might be to try
an up to date biojava cvs build.
mvh Kalle
_______________________________________________
Biojava-l mailing list - Biojava-l@xxxxxxxxxxx
http://biojava.org/mailman/listinfo/biojava-l



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo