<div dir="ltr"><div><div>Ok understood, sorry.<br></div>Now it works, thank you Andreas.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-24 20:30 GMT+02:00 Andreas Prlic <span dir="ltr"><<a href="mailto:andreas@sdsc.edu" target="_blank">andreas@sdsc.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Andreas,<div><br></div><div>please don't mail me directly with questions, but keep them on the list, for the benefit of other users who might be in the same situation.</div><div><br></div><div>You are right, the signature of SubstitutionMatrix has changed at some point in the past. Try this:</div><div><br></div><div><pre style="color:rgb(0,0,0);font-family:Menlo;font-size:9pt">SubstitutionMatrix<AminoAcidCompound> matrix = SubstitutionMatrixHelper.<span style="font-style:italic">getBlosum65</span>();</pre><pre><font face="arial, helvetica, sans-serif"><br></font></pre><pre><font face="arial, helvetica, sans-serif">There is also another example in the "demo" package of the alignment module, that you could take a look at.<br><br>About the tutorial: When you have the basics figured out, any contributions/pull requests to improve the tutorial will be welcome! ;-)</font><span class="HOEnZb"><font color="#888888"><br><br>A</font></span></pre><pre style="color:rgb(0,0,0);font-family:Menlo;font-size:9pt"><br></pre><pre style="color:rgb(0,0,0);font-family:Menlo;font-size:9pt"><br></pre></div><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 24, 2016 at 5:51 AM, Andrea Battistelli <span dir="ltr"><<a href="mailto:andreyas.1688@gmail.com" target="_blank">andreyas.1688@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Andreas.<br><br></div>I have seen the codes in the page you suggested me.<br>I have encountered some errors about:<br><br><div style="margin-left:40px"><i>import org.biojava.nbio.alignment.template.SequencePair;</i><br></div><div style="margin-left:40px"><i>import org.biojava.nbio.alignment.template.SubstitutionMatrix;<br><br></i></div></div><div>Regarding all the other imports, there are not problems.<br></div><div>Indeed in the code I have errors in this part:<br><br><div style="margin-left:40px"><i><b><u>SubstitutionMatrix</u></b><AminoAcidCompound> matrix = new SimpleSubstitutionMatrix<AminoAcidCompound>();</i><br></div><div style="margin-left:40px"><i>List<<b><u>SequencePair</u></b><ProteinSequence, AminoAcidCompound>> alig = Alignments.getAllPairsAlignments(lst,</i><br></div><div style="margin-left:40px"><i> PairwiseSequenceAlignerType.LOCAL, new SimpleGapPenalty(), matrix);</i><br></div><div style="margin-left:40px"><i>for (<b><u>SequencePair</u></b><ProteinSequence, AminoAcidCompound> pair : alig) {</i><br></div><div style="margin-left:40px"><i> System.out.printf("%n%s vs %s%n%s", pair.getQuery().getAccession(), pair.getTarget().getAccession(), pair);</i><br></div><div style="margin-left:40px"><i>}</i><br></div></div><div>It is told me to create these two classes.<br><br></div><div>I am using the last version of the BioJava project (4.2.1) by means of Maven (as described in the site).<br>Probably in that version there are not anymore those classes<i>. </i>Could be this the problem?<br></div><div>How could I solve this?<br><br></div><div>Thanks a lot.<br></div><div><br></div><div>P.S. <br>Regarding the "BioJavaTutorial page - book 2: The Alignment module" (<a href="https://github.com/biojava/biojava-tutorial/blob/master/alignment/README.md" target="_blank">https://github.com/biojava/biojava-tutorial/blob/master/alignment/README.md</a>), could be possible kindly to have the explanation of the pages?<br></div><div>Unfortunaltely it is the onyl part of the tutorial without explanation.<br></div><div><i><br></i></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-24 14:12 GMT+02:00 Andrea Battistelli <span dir="ltr"><<a href="mailto:andreyas.1688@gmail.com" target="_blank">andreyas.1688@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Andreas.<br><br></div>Thank you very much for the fixes. Surely it will help me.<br></div>I have understood the problem you encountered with the old site.<br></div>Now I will try to apply those things.<br><br></div><div>Thanks again,<br></div><div>Andrea<br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-23 19:27 GMT+02:00 Andreas Prlic <span dir="ltr"><<a href="mailto:andreas@sdsc.edu" target="_blank">andreas@sdsc.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Andrea,<div><br></div><div>Sorry for the inconvenience. We had to turn the old site off, since there were too many security breaches which resulted in content spamming. This is across all bio* projects...</div><div><br></div><div>I fixed the links on the CookBook4 page. Checking some of the related pages, there are still a lot of formatting issues. That will take a bit to fix them all up. However, each page at the bottom has an "edit this page" link, which makes it easy to access the raw markdown content. It is possible to see the code in a more readable way. I also fixed up this page for now: <a href="http://biojava.org/wikis/BioJava:CookBook3:PSA/" target="_blank">http://biojava.org/wikis/BioJava:CookBook3:PSA/</a></div><div><br></div><div>Hope that helps,</div><div><br></div><div>Andreas<br><div><br></div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Sat, May 21, 2016 at 4:09 AM, Andrea Battistelli <span dir="ltr"><<a href="mailto:andreyas.1688@gmail.com" target="_blank">andreyas.1688@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div><div><div><div>Hello everyone.<br><br></div>I have been studying the pairwise sequence alignment concept for a project that I need to do for an exam.<br></div><div>In particular I am interested in the global and local alignments and all the things related to them (how they are implemented, how I can generate a paiwise alignment, ect.).<br></div>I would implement my project in Java employing indeed BioJava as starting point.<br></div><div>I set up correctly the Maven project on Eclipse so no problem under that point of view.<br></div><div><br></div>Few months ago I have seen there was all the documentation, tutorials and specifications about the BioJava project based on the Wiki pages.<br></div>I have seen it has been all migrated into a new web site but now I am not finding any documentation, tutorial or cookbook about the topic of personal interest.<br><br></div>- In the BioJavaTutorial page - book 2, the alignment module has no pages of explanation.<br></div><div>- In the CookBook4.0, all the links relative to the paiwise sequence alignment give me back an "<span lang="en"><span>address</span> <span>uninterpretable</span></span>" message.<br></div><div>- Finally in the Wiki Pages section there are many links. In some of these there are links interesting for me but they contain not well formatted codes.<br><br></div><div>I know that it may taketime to migrate all the things but in the meantime:<br>Is there any possibility to have the reference to the old web site?<br></div><div>Anyone can help me to indicate me where I can find some good pages of documentation, tutorial, etc. about pairwise sequence alignment for BioJava?<br><br></div><div>Thanks a lot.<br></div></div>
<br></div></div>_______________________________________________<br>
Biojava-l mailing list - <a href="mailto:Biojava-l@mailman.open-bio.org" target="_blank">Biojava-l@mailman.open-bio.org</a><br>
<a href="http://mailman.open-bio.org/mailman/listinfo/biojava-l" rel="noreferrer" target="_blank">http://mailman.open-bio.org/mailman/listinfo/biojava-l</a><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr">-----------------------------------------------------------------------<br>Dr. Andreas Prlic<br>RCSB PDB Protein Data Bank</div><div>Technical & Scientific Team Lead</div><div dir="ltr">University of California, San Diego<div><br></div><div>Editor Software Section <br><div>PLOS Computational Biology<div><div><div><br></div><div>BioJava Project Lead<br>-----------------------------------------------------------------------<br></div></div></div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div><div><div dir="ltr"><div><div dir="ltr"><div><div><div><div><div><br></div></div></div></div></div></div></div></div></div>
</div></div></div></div>
</blockquote></div><br></div>