I ran into an issue with a bunch of FASTQC files which include colon: in their filenames. Renaming the files is not an option. While this char is not allowed in Windows filenames,
Linux allows any character other than nul and /. See the session using example FASTQC reports / zip files (obtained from test[:err].fastq.bz2 input files):
test_fastqc.zip :heavy_check_mark:
test:err_fastqc.zip :x:
> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-conda_cos6-linux-gnu (64-bit)
Running under: Debian GNU/Linux 10 (buster)
...
> packageVersion("fastqcr")
[1] ‘0.1.2'
> library(fastqcr)
> qc <- qc_read("test_fastqc.zip")
Reading: test_fastqc.zip
> names(qc)
[1] "summary" "basic_statistics"
[3] "per_base_sequence_quality" "per_tile_sequence_quality"
[5] "per_sequence_quality_scores" "per_base_sequence_content"
[7] "per_sequence_gc_content" "per_base_n_content"
[9] "sequence_length_distribution" "sequence_duplication_levels"
[11] "overrepresented_sequences" "adapter_content"
[13] "kmer_content" "total_deduplicated_percentage"
> qc <- qc_read("test:err_fastqc.zip")
Reading: test:err_fastqc.zip
Error in open.connection(con, "rb") : cannot open the connection
In addition: Warning message:
In open.connection(con, "rb") :
cannot open zip file 'test:err_fastqc.zip:test'
Hi,
I ran into an issue with a bunch of FASTQC files which include colon
:
in their filenames. Renaming the files is not an option. While this char is not allowed in Windows filenames, Linux allows any character other than nul and/
. See the session using example FASTQC reports / zip files (obtained fromtest[:err].fastq.bz2
input files):test_fastqc.zip
:heavy_check_mark:test:err_fastqc.zip
:x: