Hi All
First of all I am not a bioinformatician, I'm looking at someone else's test workflow. I have successfully run it on usegalaxy to completion however on my local instance that I've set up I've bumped into an error at the sam to bam conversion process.
Comparing the workflows side by side they look identical, and each steps output goes to the next steps input.
It has a git installation of galaxy on to centos 7.3 with postgresql as the database. I've used the data managers to get the fast reference genomes and built the bwa, bwa-mem, etc indexes from them. I've installed all the tools and all the dependencies appear to be fulfilled in manage installed tools.
These are the data managers installed: -
data_manager_bwa_index_builder - blankenberg repo
data_manager_bowtie2_index_builder
data_manager_bwa-mem_index_builder
data_manager_fetch_genome_dbtags_all_fasta
data_manager_picard_index_builder
data_manager_sam_fasta_index_builder
Workflow has steps to take fasta files through FASTQ Groomer, FASTQ Summary Statistics, Map with BWA for illumina, SAM to BAM taking the data produced from each previous step.
I can see the sam file the previous step created as input with Map with BWA for Illumina.
This is what the SAM-to-BAM information comes back as: -
ln -s /galaxy/tool-data/hg19/sam_indexes/hg19/hg19.fa input.fa && ln -s /galaxy/tool-data/hg19/sam_indexes/hg19/hg19.fa.fai input.fa.fai && samtools view -b -@ ${GALAXY_SLOTS:-1} -t input.fa.fai "/galaxy/database/files/000/dataset_59.dat" | samtools sort -O bam -@ ${GALAXY_SLOTS:-1} -o "/galaxy/database/files/000/dataset_60.dat" -T temp
Traceback (most recent call last): File "/galaxy/lib/galaxy/jobs/runners/local.py", line 130, in queue_job job_wrapper.finish( stdout, stderr, exit_code ) File "/galaxy/lib/galaxy/jobs/__init__.py", line 1354, in finish dataset.datatype.set_meta( dataset, overwrite=False ) File "/galaxy/lib/galaxy/datatypes/binary.py", line 391, in set_meta exit_code = subprocess.call( args=command, stderr=open( stderr_name, 'wb' ) ) File "/usr/lib64/python2.7/subprocess.py", line 524, in call return Popen(popenargs, *kwargs).wait() File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
I'd be grateful if someone could tell me what I'm missing.
Thanks
Bryan
Hi Devon
I just did cat ../../seq/hg19.fa from the symlink directory and got output as expected.
Not sure what to look for now.
Thank you.
Bryan