Looks like there is an error in the awk statement "/data/filterChrY.sh: line 60:…
- User
Looks like there is an error in the awk statement "/data/filterChrY.sh: line 60: outputFileY; } } { # Check if the first column is NOT in the ynames array # ignore the "@" firstColumn = substr(1, 2); if (!(firstColumn in ynames)) { # Print this line and the next three lines to standard output (non-Y reads) print; for (i = 0; i < 3; ++i) { if (getline <= 0) break; print; } } else { # Print this line and the next three lines to Y reads file print 0 | ycmd; for (i = 0; i < 3; ++i) { if (getline <= 0) break; print 0 | ycmd; } } } END { # Close the Y chromosome reads output file close(ycmd); }' | gzip > "/data/test_jax/small/filtered/TWIST2_PTC_H09_GT24-03507_ATTGTGAA-GCAATGCA_S20_L001_R1_001_val/TWIST2_PTC_H09_GT24-03507_ATTGTGAA-GCAATGCA_S20_L001_R2_001.filtered.fastq.gz": File name too long /data/filterChrY.sh: line 60: outputFileY; } } { # Check if the first column is NOT in the ynames array # ignore the "@" firstColumn = substr(1, 2); if (!(firstColumn in ynames)) { # Print this line and the next three lines to standard output (non-Y reads) print; for (i = 0; i < 3; ++i) { if (getline <= 0) break; print; } } else { # Print this line and the next three lines to Y reads file print 0 | ycmd; for (i = 0; i < 3; ++i) { if (getline <= 0) break; print 0 | ycmd; } } } END { # Close the Y chromosome reads output file close(ycmd); }' | gzip > "/data/test_jax/small/filtered/TWIST2_PTC_H09_GT24-03507_ATTGTGAA-GCAATGCA_S20_L001_R1_001_val/TWIST2_PTC_H09_GT24-03507_ATTGTGAA-GCAATGCA_S20_L001_R1_001.filtered.fastq.gz": File name too long keyfiles 0 datastring [ {} ] output is [ {} ]
- Assistant