Hi,
I need help; I need to use perl, possibly Bioperl, to extract the intergenic regions from a genbank file (.gb). The organism is B.subtilis strain 168.
Is there something on Bioperl to do this?
I am competent with R but very rusty with Perl, I would need a bit of advice on how to do this task. I have perl and Bioperl installed.
The genbank file also has the full DNA sequence at the end, after all the information.
Thanks for your answer Pierre however I tried using this method but was unable to install bedtools as I have not administrator privileges on the machine I am working on; I have tried using other methods, in R, and Perl, each could not fully get me where I want to; finally I have tried downloading and installing GFF-Ex; it did work, however I am not too happy about the output. Thanks for taking the time.
You don't have to be admin. You can install any software in your private directory.
I will try again tomorrow if that is possible; I read the instruction page and at some point it goes:
"At this point, one should copy the binaries in ./bin/ to either usr/local/bin/ or some other repository for commonly used UNIX tools in your environment. You will typically require administrator (e.g. “root” or “sudo”) privileges to copy to usr/local/bin/."
That is why I tried sorting the problem out differently. I am a beginner and I thought that was not possible, having read that statement about copying binaries.
create a bin directory in your home
copy the binaries in ${HOME}/bin
add
${HOME}/bin
to your path:Pierre, Can you update the curl command, the awk expression is cut !!!!
My guess is that the awk expression is:
awk '{B=int($1);E=int($2);printf("NC_018520\t%d\t%d\n",B,E)}'