启动makefile时收到此消息,最可能的错误是什么?它在每行的开头以制表符分隔。
makefile_first30samples_rfam:63: *** commands commence before first target. Stop.
robinm@havpryd:~/Oluf/Project_GCF-2014-313$ head makefile_first30samples_rfam
#cutadapt -a TGGAATTCTCGGGTGCCAAGGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG merged_007_GAGTGG.fastq > Cut_merged_007_GAGTGG.fastq
#cutadapt -a TGGAATTCTCGGGTGCCAAGGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG merged_026_ATGTCA.fastq > Cut_merged_026_ATGTCA.fastq
#cutadapt -a TGGAATTCTCGGGTGCCAAGGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG merged_030_GTGGCC.fastq > Cut_merged_030_GTGGCC.fastq
#cutadapt -a TGGAATTCTCGGGTGCCAAGGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG merged_040_CACCGG.fastq > Cut_merged_040_CACCGG.fastq
#cutadapt -a TGGAATTCTCGGGTGCCAAGGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG merged_086_AGTTCC.fastq > Cut_merged_086_AGTTCC.fastq
#cutadapt -a TGGAATTCTCGGGTGCCAAGGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG merged_087_CCGTCC.fastq > Cut_merged_087_CCGTCC.fastq
#cutadapt -a TGGAATTCTCGGGTGCCAAGGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG merged_125_CTTGTA.fastq > Cut_merged_125_CTTGTA.fastq
#cutadapt -a TGGAATTCTCGGGTGCCAAGGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG merged_197_GCCAAT.fastq > Cut_merged_197_GCCAAT.fastq
#cutadapt -a TGGAATTCTCGGGTGCCAAGGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG merged_208_CGTACG.fastq > Cut_merged_208_CGTACG.fastq
#cutadapt -a TGGAATTCTCGGGTGCCAAGGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG merged_226_CAACTA.fastq > Cut_merged_226_CAACTA.fastq
robinm@havpryd:~/Oluf/Project_GCF-2014-313$
答案 0 :(得分:1)
Makefile规则必须具有
形式target: ...
command
command
看起来你的目标线丢失了。
尝试类似
的内容foo:
#cutadapt -a TGGAATTCTCGGGTGCCAAGGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG merged_007_GAGTGG.fastq > Cut_merged_007_GAGTGG.fastq
...
(foo之前没有空格:每个命令前有一个标签)