我想使用这个脚本通过zenity打开5个文件,但每个文件将分别处理(通过“do”)。可能吗?
FILES=($(zenity --file-selection --multiple --title "Pick a file"))
for i in "$FILES"
do
fastx_quality_stats -i $i -o ${i%.fastq}quality.txt
bash /home/fil/Desktop/Pipeline_MISEQ/fastq_quality_boxplot_graph.sh -i ${i%.fastq}quality.txt -o ${i%fastq}quality_distribution.png
bash fastx_nucleotide_distribution_graph.sh -i ${i%.fastq}quality.txt -o ${i%.fastq}distribuiton_nucleotides.png
mv *quality.txt *.png fastq_stat/
done