Closed josephhughes closed 5 months ago
It worked with the complete path. I suggest you modify your readme to make it clear to the user that they must use the fullpath of the input and output directory, in my case:
nextflow run CoPi --in_dir /home1/jh212a/test_adel/Samples --outdir /home1/jh212a/test_adel/Results
Got the same error.
@josephhughes' suggestion is safer but you can still use the relative path using this command instead
cat ${PWD}/${params.in_dir}/*.fasta > all_sequences.fasta
on line17
Hi @josephhughes and @abulenciamiguel, I edited the line cat ${PWD}/${params.in_dir}/*.fasta > all_sequences.fasta
as suggested to account for relative path.
It doesn't seem to find the files to concatenate:
nextflow run CoPi --in_dir Samples --outdir Results
OUTPUT
There are fasta files in the directory:
ls Samples/
OUTPUT:
barcode07.bam barcode07.bam.bai barcode07.fasta barcode07.fastq barcode08.bam barcode08.bam.bai barcode08.fasta barcode08.fastq barcode09.bam barcode09.bam.bai barcode09.fasta barcode09.fastq