\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.tabRead_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 ">".
Posted Feb 7, 2024
Simple Bioinformatic Linux script to obtain reads from several genomic loci in a sorted and indexed BAM file
0
9