Illumina / ExpansionHunter

A tool for estimating repeat sizes
Other
182 stars 51 forks source link

SampleID input parameter #175

Open aokulabasile opened 1 year ago

aokulabasile commented 1 year ago

Hi,

Would it be possible to add an input parameter for sample name specification? Currently, EH reads the sampleID from the bam file name auto sampleId = boostHtsFilePath.stem().string() , and this may not always be the accurate sampleID. The addition of a sampleID input parameter would be very helpful. Thanks!

dennishendriksen commented 1 year ago

workaround:

echo -e "MY_SAMPLE_ID" > samples.txt
bcftools reheader --samples samples.txt expansionhunter_output.vcf
andreasssh commented 11 months ago

Might be too late, but I added this option into my fork of EH: https://gitlab.com/andreassh/ExpansionHunter