tk2 / RetroSeq

RetroSeq is a bioinformatics tool that searches for mobile element insertions from aligned reads in a BAM file and a library of reference transposable elements. Please read the wiki page (link below) for usage instructions. Also, there is a page on the wiki describing how the 1000 genomes CEU trio was carried out with the files and parameters used for the various steps.
64 stars 25 forks source link

Compatibility Checks for samtools #9

Closed jfong1123 closed 7 years ago

jfong1123 commented 7 years ago

I have two versions of samtools currently installed, one that is compatible and one that is not. I have put only the correct version on my path and aliased 'samtools' to point to the correct version, but when running Retroseq.pl, it terminates, claiming I am using an incompatible version of samtools.

Is there any way to allow Retroseq to check for the correct version of samtools and run without uninstalling the newer versions of it?

Thanks so much!

tk2 commented 7 years ago

Hi - RetroSeq will use whatever Samtools it finds in the local environment. The alias you set up is not working if RetroSeq is finding the incorrect version. I'm not sure I can help you fixing that.

Rgds, Thomas

On 22/07/16 13:20, jfong1123 wrote:

I have two versions of samtools currently installed, one that is compatible and one that is not. I have put only the correct version on my path and aliased 'samtools' to point to the correct version, but when running Retroseq.pl, it terminates, claiming I am using an incompatible version of samtools.

Is there any way to allow Retroseq to check for the correct version of samtools and run without uninstalling the newer versions of it?

Thanks so much!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wtsi-svi/RetroSeq/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/AAf_sYIN9njfl5LxaAMRsZz6FXDC13t0ks5qYSYKgaJpZM4JTGNX.

The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.

jfong1123 commented 7 years ago

Thanks!

The alias I set up was working from command line, but I think retroseq looks for "samtools" in the "/usr/local/bin/" directory first. Moving other versions of samtools away from the path yields the desired result.