jhrf / telomerecat

Telomerecat: The telomere computational analysis tool
GNU General Public License v3.0
14 stars 2 forks source link

Optional input of txt file that contains telbam file paths #10

Closed adamcweiner closed 4 years ago

adamcweiner commented 4 years ago

I want to run telbam2length on many telbams at once with the -e F2a flag enabled but I was exceeding the maximal command line argument length (ARG_MAX) when having to concatenate all my input telbam paths into a string. This fix adds an optional parameter which enables one to pass a txt file as input where each line of the txt file contains the path of a telbam file. Such a format is consistent with the -b flag in samtools merge.