![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using dindel | Hena | Bioinformatics | 30 | 08-07-2013 12:50 PM |
Running Pindel prior to Dindel | jtjli | Bioinformatics | 32 | 03-17-2012 02:53 PM |
tophat Error running running 'prep_reads' | victoryhe | Bioinformatics | 2 | 10-17-2011 05:53 AM |
Running Dindel on OS X with XGRID | olivier | Bioinformatics | 1 | 05-19-2011 08:31 AM |
problem running Dindel on MacOSX 10.6.4 | csoong | Bioinformatics | 5 | 12-23-2010 08:12 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: canada Join Date: Jan 2011
Posts: 27
|
![]()
Hello,
I am writing a script for automatically running dindel commands. But it never works. For example, whenever I use: "input_file=/path/input_file.bam dindel --bamFile $input_file" it can go to the path and find the file, but can not open or read it. I'm pretty sure the method is correct, because it works fine on samtools. Any idea regarding this? Thanks a lot, |
![]() |
![]() |
![]() |
#2 |
Senior Member
Location: Palo Alto Join Date: Apr 2009
Posts: 213
|
![]()
Might be the permissions of the file. Try:
Code:
chmod 755 /path/input_file.bam
__________________
Mendelian Disorder: A blogshare of random useful information for general public consumption. [Blog] Breakway: A Program to Identify Structural Variations in Genomic Data [Website] [Forum Post] Projects: U87MG whole genome sequence [Website] [Paper] |
![]() |
![]() |
![]() |
#3 |
Member
Location: canada Join Date: Jan 2011
Posts: 27
|
![]()
Thank you Michael, it seems like chmod 755 can not change the permission of input.bam
Any solution? |
![]() |
![]() |
![]() |
#4 |
Senior Member
Location: Palo Alto Join Date: Apr 2009
Posts: 213
|
![]()
Try putting the input file path in quotes?
I.e. Code:
input_file="/path/to/input_file.bam"; dindel --bamFile $input_file
__________________
Mendelian Disorder: A blogshare of random useful information for general public consumption. [Blog] Breakway: A Program to Identify Structural Variations in Genomic Data [Website] [Forum Post] Projects: U87MG whole genome sequence [Website] [Paper] |
![]() |
![]() |
![]() |
#5 |
Senior Member
Location: Kansas City Join Date: Mar 2008
Posts: 197
|
![]()
Can you view the bam file?
samtools view input_file.bam | head If you do ls -l on the bam file, what are the permissions that are shown? What error message are you getting? |
![]() |
![]() |
![]() |
#6 |
Member
Location: canada Join Date: Jan 2011
Posts: 27
|
![]()
Thank you all, I used
input="$PATH/sorted.bam"; and it's working now! Thanks a lot~! |
![]() |
![]() |
![]() |
Tags |
dindel |
Thread Tools | |
|
|