Michael Cariaso
09/19/2025, 1:36 AMpatient,sample,lane,cram,crai
user,ASAMPLE,lane_1,s3://mybucket/my.cram,s3://mybucket/my.cram.crai
since the equivalent bam based one does work. but it is rejected with the message
ERROR ~ Validation of pipeline parameters failed!
-- Check '.nextflow.log' file for details
The following invalid input values have been detected:
* --input (s3://mybucket/myjob.csv): Validation of file failed:
-> Entry 1: Object does not have some of the required properties [[fastq_1]]
-> Entry 1: Object does not have some of the required properties [[spring_1]]
-> Entry 1: Object does not have some of the required properties [[bam]]
-> Entry 1: Value does not match against any of the schemas
-- Check script '/home/myuser/.nextflow/assets/nf-core/sarek/subworkflows/nf-core/utils_nfschema_plugin/main.nf' at line: 39
or see '.nextflow.log' file for more details
based on
https://github.com/nf-core/sarek/blob/5fe5cdff171e3baed603b3990cab7f7fd3fcb992/docs/usage.md?plain=1#L187
I could perhaps try and remove the 'lane' but it seems an extra column shouldn't cause a failure. ?!Michael Cariaso
09/19/2025, 1:46 AMArthur
09/19/2025, 2:07 AMMichael Cariaso
09/19/2025, 2:33 AMMatthias De Smet
09/19/2025, 3:22 AMMatthias De Smet
09/19/2025, 3:23 AMMatthias De Smet
09/19/2025, 3:24 AMArthur
09/19/2025, 3:24 AMMatthias De Smet
09/19/2025, 3:25 AMMatthias De Smet
09/19/2025, 3:25 AMArthur
09/19/2025, 3:30 AMMatthias De Smet
09/19/2025, 3:34 AMMatthias De Smet
09/19/2025, 3:41 AMMatthias De Smet
09/19/2025, 3:42 AMArthur
09/19/2025, 3:44 AMMatthias De Smet
09/19/2025, 3:54 AMMatthias De Smet
09/19/2025, 3:57 AMMatthias De Smet
09/19/2025, 3:58 AMArthur
09/19/2025, 3:58 AMMatthias De Smet
09/19/2025, 4:00 AMMichael Cariaso
09/19/2025, 2:57 PMsamtools view -@1 --customized-index --write-index --fai-reference /ref/src_ref.fna -o /dest/basename.bam /src/srcname.cram /src/srcname.cram.crai
It does the cram to bam without needing to depend on the cram for reference info.
but if this were done at a slightly lower level, and each worker that knew it was responsible for region chr4:1-10000000 would pull just that from a samtools supported
https://www.htslib.org/doc/htslib-s3-plugin.html
and or
https://github.com/awslabs/mountpoint-s3
the world would be a better place. it'll eventually happen, and we'll regret not getting there sooner.Michael Cariaso
09/19/2025, 3:21 PMMichael Cariaso
09/19/2025, 3:24 PM