problem in creating an object for a list of fasta files

0

Hello,

I am trying to make an object for a list of fasta files to use for downstream analysis:

INPUT_DIR=/path/input
INPUT_FILE=$(ls -1 input/*.fasta)
SAMPLE=$(basename "${INPUT_FILE}" .fasta)
in=${INPUT_DIR}/${SAMPLE}.fasta

However in shows only the first file in the list instead of all the fasta files.
Thank you for the help!


basename

• 15 views



Source link