Vincent Darbot
05/31/2024, 1:24 PMCommand error:
bash: /home/ec2-user/miniconda/bin/aws: No such file or directory
bash: line 1: /home/ec2-user/miniconda/bin/aws: No such file or directory
Before, I added the aws config in my nextflow.config as follows:
aws {
params {
config_profile_description = 'AWSBATCH Cloud Profile'
config_profile_url = 'https://aws.amazon.com/batch/'
awsregion = 'eu-west-3'
awscli = '/home/ec2-user/miniconda/bin/aws'
}
timeline {
overwrite = true
}
report {
overwrite = true
}
trace {
overwrite = true
}
dag {
overwrite = true
}
process.executor = 'awsbatch'
process.queue = my-aws-queue
aws.region = params.awsregion
aws.batch.cliPath = params.awscli
}
And then the command used is:
nextflow run main.nf -profile aws,docker --outdir /home/test/out/ --input /home/bin/rnaseq/test/metadata/infile_test.csv --fasta /home/bin/rnaseq/test/data/myfasta.fa.gz --gtf /home/bin/rnaseq/test/datamygtf.gtf.gz -bucket-dir s3://gwfcore-aviwell-bucket/work/ --stop_at_quantif
What did I miss ? I'm new on AWS and the configuration is still unclear to me ...
Thank you by advancepontus
06/01/2024, 6:39 AM