Coder Social home page Coder Social logo

Comments (10)

walaj avatar walaj commented on June 9, 2024

from svaba.

rmurphy49 avatar rmurphy49 commented on June 9, 2024

Yeah the initial issue was a syntax error with the trailing backlash. Ran it again and it flags up the following error command:

svaba/bin/svaba run -t /mnt/scratch/users/40057929/MCLHighNov2016/Batch1/04-0309-01-36351377/04-0309-01_S2.bam n- /mnt/scratch/users/40057929/MCL*/MCL*/12-2164*/12-2164-01_MRDneg_S1.bam -G /users/40057929/wg.fa -a svaba_Batch1_0309 -p 4

--- Running svaba SV and indel detection on 4 threads ---
--- (inspect *.log for real-time progress updates) ---

[E::bwa_idx_load_from_disk] fail to locate the index files
ERROR: Unable to open index file: /users/40057929/wg.fa

Again, I've checked the file path and the index file is within the same directory. Thanks for the help so far I have little experience with Linux and any help would be great.

from svaba.

walaj avatar walaj commented on June 9, 2024

from svaba.

rmurphy49 avatar rmurphy49 commented on June 9, 2024

This is my ls command output for the working directory the reference genome file is in:

hg19bwaidx.amb
hg19bwaidx.ann
hg19bwaidx.btw
hg19bwaidx.pac
hg19bwaidx.sa
wg.fa
wg.fa.fai

Would the different indexing filenames from wg.fa be the issue?

from svaba.

walaj avatar walaj commented on June 9, 2024

from svaba.

rmurphy49 avatar rmurphy49 commented on June 9, 2024

Changed the filenames to match the indexing filenames and still nothing. Any other advice that might help? I'm going to try and build the index again from scratch in case there are any errors. The reference genome I am using (standard hg19 genome) may be different from the genome used to reference the bam files I have been provided if this may give rise to any issue, although I believe the issue I have is related the finding the files.

from svaba.

walaj avatar walaj commented on June 9, 2024

from svaba.

rmurphy49 avatar rmurphy49 commented on June 9, 2024

The initial reference index was with bwa index, ran it again and still getting the same error message. All files with identical names and in the same directory. The command lines I used for bwa index were as follows:

bwa index -p hg19bwaidx -a bwtsw hg19bwaidx.fa
samtools faidx hg19bwaidx.fa

from svaba.

walaj avatar walaj commented on June 9, 2024

from svaba.

rmurphy49 avatar rmurphy49 commented on June 9, 2024

I obtained the reference fasta that was used for the alignment of the BAM file and this fixed the problem. This was also the case for other programs I am currently using which had similar issues to the one's I had described here. Thanks for the quick replies and help you have provided!

from svaba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.