# warning: with no output dir for log.txt, the file is created in \\wsl$\Ubuntu-20.04\home\gael\work\35\b826898b7be994ff13b7bc73bc88d8\
# get the bad sequences + 3 other lines of the fastq #see https://stackoverflow.com/questions/11793942/delete-lines-before-and-after-a-match-in-bash-with-sed-or-awk
echo-e"<br /><br />\n\n### Trim of the read for the primer parts\n\n">>${log}
echo-e"<br /><br />\n\n### Trim of the read for the primer parts\n\n">${log}
# sed '/^>.*$/d' ref_seq/adapters_TruSeq_B2699.fasta > tempo.adap.seq #in case we want to remove titles of the fasta files, but no need for AlienTrimmer
gzip${input_file}-dc> input_file2
AlienTrimmer -i input_file2 -c${primer_fasta}-o${output_file}-l${alientrimmer_l_param} | tee tempo.txt