snippy icon indicating copy to clipboard operation
snippy copied to clipboard

libtabixpp.so.0: cannot open shared object file

Open DorothyTamYiLing opened this issue 8 months ago • 4 comments

Hi,

I have this error that seemed to be coming from freebayes, I have googled but still have no idea of how to solve it.

freebayes-parallel reference/ref.txt 8 -p 2 -P 0 -C 2 -F 0.05 --min-coverage 10 --min-repeat-entropy 1.0 -q 13 -m 60 --strict-vcf -f reference/ref.fa snps.bam > snps.raw.vcf

vcfstreamsort: error while loading shared libraries: libtabixpp.so.0: cannot open shared object file: No such file or directory vcfuniq: error while loading shared libraries: libtabixpp.so.0: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/home/ubuntu/mambaforge/bin/vcffirstheader", line 17, in print(line.strip()) BrokenPipeError: [Errno 32] Broken pipe

Also, can I say that the mapping is completed without any error and I can use the bam file?

Please see the complete log file below.

Thanks, Dorothy

echo snippy 4.6.0

cd /home/ubuntu/Dorothy/assembly_analysis

/home/ubuntu/snippy/bin/snippy --outdir SRR7209059_snippy --ref Ssonnei_Ss046_genome.fasta --R1 SRR7209059_1_trimmed.fastq.gz --R2 SRR7209059_2_trimmed.fastq.gz

samtools faidx reference/ref.fa

bwa index reference/ref.fa

[bwa_index] Pack FASTA... 0.06 sec [bwa_index] Construct BWT for the packed sequence... [bwa_index] 2.67 seconds elapse. [bwa_index] Update BWT... 0.03 sec [bwa_index] Pack forward-only FASTA... 0.03 sec [bwa_index] Construct SA from BWT and Occ... 0.80 sec [main] Version: 0.7.17-r1188 [main] CMD: bwa index reference/ref.fa [main] Real time: 3.772 sec; CPU: 3.600 sec

mkdir -p reference/genomes && cp -f reference/ref.fa reference/genomes/ref.fa

ln -sf reference/ref.fa .

ln -sf reference/ref.fa.fai .

mkdir -p reference/ref && gzip -c reference/ref.gff > reference/ref/genes.gff.gz

bwa mem -Y -M -R '@RG\tID:SRR7209059_snippy\tSM:SRR7209059_snippy' -t 8 reference/ref.fa /home/ubuntu/Dorothy/assembly_analysis/SRR7209059_1_trimmed.fastq.gz /home/ubuntu/Dorothy/assembly_analysis/SRR7209059_2_trimmed.fastq.gz | samclip --max 10 --ref reference/ref.fa.fai | samtools sort -n -l 0 -T /tmp --threads 3 -m 2000M | samtools fixmate -m --threads 3 - - | samtools sort -l 0 -T /tmp --threads 3 -m 2000M | samtools markdup -T /tmp --threads 3 -r -s - - > snps.bam

COMMAND: samtools markdup -T /tmp --threads 3 -r -s - - READ: 4820320 WRITTEN: 4716270 EXCLUDED: 697874 EXAMINED: 4122446 PAIRED: 4094516 SINGLE: 27930 DUPLICATE PAIR: 83648 DUPLICATE SINGLE: 20402 DUPLICATE PAIR OPTICAL: 0 DUPLICATE SINGLE OPTICAL: 0 DUPLICATE NON PRIMARY: 0 DUPLICATE NON PRIMARY OPTICAL: 0 DUPLICATE PRIMARY TOTAL: 104050 DUPLICATE TOTAL: 104050 ESTIMATED_LIBRARY_SIZE: 49421215

samtools index snps.bam

fasta_generate_regions.py reference/ref.fa.fai 327049 > reference/ref.txt

freebayes-parallel reference/ref.txt 8 -p 2 -P 0 -C 2 -F 0.05 --min-coverage 10 --min-repeat-entropy 1.0 -q 13 -m 60 --strict-vcf -f reference/ref.fa snps.bam > snps.raw.vcf

vcfstreamsort: error while loading shared libraries: libtabixpp.so.0: cannot open shared object file: No such file or directory vcfuniq: error while loading shared libraries: libtabixpp.so.0: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/home/ubuntu/mambaforge/bin/vcffirstheader", line 17, in print(line.strip()) BrokenPipeError: [Errno 32] Broken pipe

DorothyTamYiLing avatar Oct 20 '23 12:10 DorothyTamYiLing