Pubudu has asked for the wisdom of the Perl Monks concerning the following question:

I'm totally new to above two languages.I need a coding where the same query is written by Perl and Python.So I can compare both two.I really need it for a presentation and I searched everywhere in the net but I was so unfortunate.thanks
  • Comment on Need to compare same coding written by BioPerl and Biopython

Replies are listed 'Best First'.
Re: Need to compare same coding written by BioPerl and Biopython
by planetscape (Chancellor) on Dec 06, 2009 at 01:37 UTC

    When I need such information (most recently with jQuery and Prototype), I usually google: jQuery Prototype OR comparison OR compare OR matrix (the latter term to get a "feature matrix").

    (Replace "jQuery" and "Prototype" as needed in the above example.)

    HTH,

    planetscape
Re: Need to compare same coding written by BioPerl and Biopython
by biohisham (Priest) on Dec 06, 2009 at 02:55 UTC
    Welcome to the Monastery,

    You've not specified what that query is and whether other technicalities are involved in addition to the syntactic representation and what the comparison contexts that would be addressed are, are you new to Perl and Python or only to BioPerl and BioPython, what do you look for from that comparison? what Perl-specific characteristics you'd wanna check?, you see, There can be a lot of information if you show the right focus...

    Here are some starters however,

    You probably would wanna look at a certain task and then see how BioPerl and BioPython go about achieving it...

    I wish you best of luck, I am not being rude as much as I am being only motivational Pubudu and I advice to stick to learning one thing at a time...

    Update:Made the links in a list..


    Excellence is an Endeavor of Persistence. Chance Favors a Prepared Mind.
Re: Need to compare same coding written by BioPerl and Biopython
by ww (Archbishop) on Dec 06, 2009 at 01:21 UTC

    So you want us to do your (home)work for you?

    I searched everywhere in the net

    I doubt it.

    • Try Google with "bioperl" and then with "biopython" as your search items
    • Proceed from there.
Re: Need to compare same coding written by BioPerl and Biopython
by Khen1950fx (Canon) on Dec 06, 2009 at 19:54 UTC
    Narrow your query down. You can translate using Inline::Python. It'll translate python code into perl code, then you can compare.