0
我努力地在Windows上运行bash脚本,但我得到的消息bash脚本“对不起,只是Linux和MacOS的支持。”不能够在Windows上运行
我已经为了能够在Windows平台上运行sh脚本安装了Cygwin和碰杯但它仍然是无济于事的。
这里是我的bash脚本,
#!/bin/bash
for ((j=0;j<10;j++)); do
rtg map -i sample_NA19240/SRR003988 -t hg19 -o map_sample_NA19240/SRR003988- $j --start-read=$[j*1000000] --end-read=$[(j+1)*1000000]
done
+1用于诊断的问题;还有另外一种选择,但是:该实用程序是在一个(64位只)Windows版本太 - 从[这里]下载(https://github.com/RealTimeGenomics/rtg-tools/releases)。 Cygwin能够从Bash脚本调用Windows CLI。 – mklement0
感谢smarquis和mklement!其实我使用RTG的Windows版本,但它仍然给我同样的信息。也许该程序未配置为使用该bash脚本在Windows上运行。 –
没错,在Windows下你需要调用提供rtg.bat,而不是RTG bash脚本。 – smarquis