I do not have permission to write temporary files in the cloud platform
No permission to write temporary files in the cloud platform
How to enable software such as samtools to write to local directories
this is problem.
hostname
- hostname
cd /data/work/pipeline_assemble_env/test/test_megahit_opera_ms/polished_output1/00.lgs_polish/02.map.ref.sh.work/map_genome2
- cd /data/work/pipeline_assemble_env/test/test_megahit_opera_ms/polished_output1/00.lgs_polish/02.map.ref.sh.work/map_genome2
minimap2 --split-prefix tmp -a -x map-ont -t 4 /data/work/pipeline_assemble_env/test/test_megahit_opera_ms/polished_output1/00.lgs_polish/input.genome.fasta /data/work/pipeline_assemble_env/test/test_megahit_opera_ms/polished_output1/input.lgspart.001.fasta.gz|samtools view --threads 5 -F 0x4 -b - |samtools sort - -m 2g --threads 4 -o lgs.part001.sort.bam
- minimap2 --split-prefix tmp -a -x map-ont -t 4 /data/work/pipeline_assemble_env/test/test_megahit_opera_ms/polished_output1/00.lgs_polish/input.genome.fasta /data/work/pipeline_assemble_env/test/test_megahit_opera_ms/polished_output1/input.lgspart.001.fasta.gz
- samtools view --threads 5 -F 0x4 -b -
- samtools sort - -m 2g --threads 4 -o lgs.part001.sort.bam
[M::mm_idx_gen::0.3810.98] collected minimizers
[M::mm_idx_gen::0.4641.39] sorted minimizers
[M::main::0.4641.39] loaded/built the index for 2571 target sequence(s)
[M::mm_mapopt_update::0.4951.36] mid_occ = 10
[M::mm_idx_stat] kmer size: 15; skip: 10; is_hpc: 0; #seq: 2571
[M::mm_idx_stat::0.516*1.34] distinct minimizers: 1395384 (96.62% are singletons); average occurrences: 1.041; average spacing: 5.386; total length: 7824854
[ERROR]�[1;31m failed to write to temporary file 'tmp.0000.tmp'�[0m: Stale file handle
[E::hts_open_format] Failed to open file "lgs.part001.sort.bam" : Stale file handle
samtools sort: failed to create "lgs.part001.sort.bam": Stale file handle
I do not have permission to write temporary files in the cloud platform
No permission to write temporary files in the cloud platform
How to enable software such as samtools to write to local directories
this is problem.
hostname
cd /data/work/pipeline_assemble_env/test/test_megahit_opera_ms/polished_output1/00.lgs_polish/02.map.ref.sh.work/map_genome2
minimap2 --split-prefix tmp -a -x map-ont -t 4 /data/work/pipeline_assemble_env/test/test_megahit_opera_ms/polished_output1/00.lgs_polish/input.genome.fasta /data/work/pipeline_assemble_env/test/test_megahit_opera_ms/polished_output1/input.lgspart.001.fasta.gz|samtools view --threads 5 -F 0x4 -b - |samtools sort - -m 2g --threads 4 -o lgs.part001.sort.bam
[M::mm_idx_gen::0.3810.98] collected minimizers
[M::mm_idx_gen::0.4641.39] sorted minimizers
[M::main::0.4641.39] loaded/built the index for 2571 target sequence(s)
[M::mm_mapopt_update::0.4951.36] mid_occ = 10
[M::mm_idx_stat] kmer size: 15; skip: 10; is_hpc: 0; #seq: 2571
[M::mm_idx_stat::0.516*1.34] distinct minimizers: 1395384 (96.62% are singletons); average occurrences: 1.041; average spacing: 5.386; total length: 7824854
[ERROR]�[1;31m failed to write to temporary file 'tmp.0000.tmp'�[0m: Stale file handle
[E::hts_open_format] Failed to open file "lgs.part001.sort.bam" : Stale file handle
samtools sort: failed to create "lgs.part001.sort.bam": Stale file handle