Closed agilly closed 2 years ago
I think this may be a gawk vs awk issue. What version of awk is installed?
Hi @agilly ! Any luck with this issue?
Thanks for your pointer @sa501428 ! The version of awk which was installed was mawk 1.3.4 20200120
. We have now upgraded to GNU Awk 5.1.1, API: 3.1
in our container. However, I am having trouble resuming Juicer. Since alignment finished successfully, I thought -S chimeric
would work. However, I get an error:
$> juicer.sh -S chimeric ... # -D, -z, -d, and -p are set
***! Move or remove directory "/lustre/groups/itg/teams/zeggini/projects/child_diabesity/analysis/initial_sample/qc/Juicer/L79851_Track-123454//aligned" before proceeding.
If I remove the aligned
directory, won't that restart alignment? As that will take a very long time, I'd rather find a way to resume.
Can you run ls -l
in the aligned folder?
Technically the alignments should be saved in the splits folder. You should see sam files / other intermediate files there. The aligned folder is really the final files folder. Eventually the merged_nodups bam will be there, but that likely wasn't built yet when the jobs failed. So the aligned folder is probably empty or has incomplete files in it / there should be no issue deleting it. Let me know if it seems different.
All right, the aligned
folder only contained a single file called header
.
When I restarted with -S
upon deletion, Juicer started, but it gave the following message:
(-: Looking for fastq files...fastq files exist
--- Using already created files in .splits
(-: Aligning files matching fastq/*_R*.fastq*
to genome hg38.p13.fa.gz with no fragment delimited maps.
It is currently running. I just wanted to check that this message doesn't mean that Juicer is restarting the alignment?
The splits
folder contains:
-rw-rw---- 2 Jan 24 10:45 L79851_Track-123454.fastq.gz_norm.txt.res.txt
-rw-rw---- 11 Jan 24 10:45 L79851_Track-123454.fastq.gz_linecount.txt
-rw-rw---- 0 Jan 24 13:20 L79851_Track-123454.fastq.gz.sam2
-rw-rw---- 652G Jan 24 13:20 L79851_Track-123454.fastq.gz.sam
-rw-rw---- 0 Jan 24 13:20 L79851_Track-123454.fastq.gz.bam
These files are a couple of days old which means they haven't been deleted or overwritten. I am not sure why the bam is of size 0 though.
After a long time, it displays the following:
Using already aligned reads L79851_Track-123454.fastq.gz.sam
so I guess we are fine!
Hi, Have you solved the problem of errors? I have encountered this problem now, and I would like to ask if there is a solution.Thank you very much. awk: chimeric_sam.awk: line 50: illegal reference to local variable array awk: chimeric_sam.awk: line 51: illegal reference to local variable array awk: chimeric_sam.awk: line 164: syntax error at or near [
Juicer was installed according to the instructions:
Juicer was run as follows:
This was run on a single host (no HPC) in a singularity container which has BWA in the path.
It gives the following error after successfully aligning:
Any pointers as to what might be going wrong?