假设我有一个命令 command.py,它将文件配对File_01_R1.fastq
到File_01_R2.fastq
. 在单对上执行的命令如下所示:
command.py -f File_01_R1.fastq -r File_01_R2.fastq
但是,我有很多文件,每个文件都有 R1 和 R2 版本。我怎么能告诉这个命令遍历我拥有的每个文件,所以它也执行
command.py -f File_02_R1.fastq -r File_02_R2.fastq
command.py -f File_03_R1.fastq -r File_03_R2.fastq
等等。