Replies: 2 comments 8 replies
-
My initial guess would be to simply move the for loop ( singularity exec --env-file /vortexfs1/home/yaamini.venkataraman/03-alignment-envfile.txt \
--bind /vortexfs1/home/naluru/:/naluru,/vortexfs1/scratch/yaamini.venkataraman:/scratch /vortexfs1/home/naluru/bat_latest.sif
for f in "${FASTQ[@]}"
do
BAT_mapping \
-g $GENOME \
-q ${TRIMMED}/${f}_1_val_1.fq.gz \
-p ${TRIMMED}/${f}_2_val_2.fq.gz \
-i $INDICES \
-o ${SINGMAPPED}/${f} \
-t 16 \
-F 2
done But, I haven't refreshed my understanding of container usage in quite some time, so I've forgotten the concept of how to operate "within" the container after starting it... |
Beta Was this translation helpful? Give feedback.
8 replies
-
Don't spend much time worrying about it. After doing some internet sleuthing, it seems that this shouldn't be much of a concern. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Maybe more of a question for @kubu4...
How can I properly format an array of file name prefixes/ensure those files are called in a for loop?
I'm running the program
BAT_mapping
, and I need to load asingularity
file on our HPC to run it. Basically I'm aligning paired-end read files to a genome (script found here, relevant section below). I'm binding directories (--bind
) and providing a file with variables (--env-file
)I'm using the following code in the environment file to create an array of file prefixes:
When I run my code, I get no alignment output so I don't think the files are being called properly. How can I set the variable properly so I can call it in the
singularity
container? When I run code interactively, I'm able to create the array and reference it, so I'm not sure why it's not working in my for loop:Beta Was this translation helpful? Give feedback.
All reactions