I am using the following command:
samtools mpileup -t DP -u --fasta-ref output/genome/ref/seq/celegans.fa --bam-list BLAA.txt
to give a BAM file as an input to the 'samtools mpileup' command. The 'BLAA.txt' contains the location of my unique BAM file. Is there a way to give the name of the BAM file to the samtools mpileup command without creating this text file?