pdahal has asked for the wisdom of the Perl Monks concerning the following question:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Forward tracing a text
by kcott (Archbishop) on Jun 02, 2017 at 05:10 UTC | |
G'day pdahal, You've made a number of posts recently that look very similar to this one. You've been repeatedly asked to provide more information: sample input, SSCCE, and so on. Kindly read through your past posts and the advice and requests therein. Then post something we can actually help you with. Thankyou. — Ken | [reply] |
|
Re: Forward tracing a text
by Marshall (Canon) on Jun 04, 2017 at 02:48 UTC | |
The basic situation is that if your want to use PubMed in any serious way (which means bioinformatics), you should use the PubMed library of functions to access their site. They have programs and libraries that are compatible with Perl. This will be much more efficient for both your code and their server site. I think what I said 7 years ago is still valid. I highly recommend that you look at the current PubMed tools. I am sure that they are even better in the last 7 years.
Update: ok, resolved PubMed link from above Monk Post: Entrez Programming Utilities Help | [reply] |
|
Re: Forward tracing a text
by thanos1983 (Parson) on Jun 02, 2017 at 09:23 UTC | |
Hello pdahal, As the fellow monk kcott asked you for Short, Self-Contained, Correct Example, I would suggest to try to understand why he did? It is not because he wants to torture you, or for any other reason than simply it is necessary for us to be able to reproduce your problem. Most of the monks here are not expert on all areas but are willing to test and experiment with different areas. If you do not provide us with anything how can you expect anybody to help you? Having said that I went online and I did a random search using your keywords and the first result that I found is Access abstract from pubmed using Bio::DB::EUtilities. I have no idea if this is something that you are looking for or you want to use another module other than Bio::DB::EUtilities. According to the comments the full example provided by the developers is working (I have not tested it). On your next question it would be better for you to come a bit prepared with more information. We can not read your mind and understand what you want to do or how you want to do. Since everyone is devoting their free time to help you I think it would be better to provide us much information as possible. Update: I could not resist to give it a try, so the following piece of code it works (taken from the link that I provided you):
Is this something that you are looking for Hope this helps.
Seeking for Perl wisdom...on the process of learning...not there...yet!
| [reply] [d/l] [select] |
by Eily (Monsignor) on Jun 02, 2017 at 12:45 UTC | |
Hello, thanos1983. There's a more or less unspoken consensus on this kind of questions, where the author seems to expect the job to be done without any effort on their part, is to never provide a fully functional answer, but at most pieces of solutions, through documentation or small solutions to sub problems. That's not the first post from pdahal with a clear lack of effort. Actually the title from this nodes reminded me of Backtracking in perl, where it kind of looks like the OP tried pretty much the same approach, but by replacing "back" by "forward", just in case it would fool us into giving the answer. So this might have played a role on the number of downvotes you got (which would be infortunate, you're not supposed to know the posting history of the monks you answer to) NB: There was a discussion a few days ago on a closely related subject here. | [reply] |
by thanos1983 (Parson) on Jun 02, 2017 at 13:29 UTC | |
Hello Eily, Thanks for the time and effort providing an explanation. Well from one point of view I agree but I have been in a similar case in the past where although I had done really hard work and research on my problem I was not able to found the solution. Maybe it was 5 - 6 years ago. I asked the forum for assistance and people where so happy to help me with my problem that more or less Having said that, I am a firm believer that every question should have an answer. To be 100% honest I saw the answer of fellow monk kcott and although it is complete and include exactly what it should include I thought, why not spend some time and work with Biology and Perl. Never tried it before this is why I wanted to play. I can not blame anyone that down-voted me I just carried a bit too much I suppose. Well I always say you will never learn until you try and fail and try again. :D Hopefully next time with more correct approach. Again thanks for your time and effort.
Seeking for Perl wisdom...on the process of learning...not there...yet!
| [reply] [d/l] [select] |
by SuicideJunkie (Vicar) on Jun 02, 2017 at 14:53 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. | |