\n
) to comma (,
) with sed ':a;N;$!ba;s/\n/,/g' inputfile > output.csv
../Read_extractor.sh -i input_sorted.bam -f Loci.csv -s 0 > ./output/sense.tab
Read_extractor_individual.sh
will generate one file for each locus in the loci file, it will put the output files in the working directory, don't add ">".