rename sample in GVCF fileAnswered
I have been trying to rename sample in single sample GVCF using the picard RenameSampleInVcf function. However it gives me ERROR: Invalid argument '50'.
Input: picard RenameSampleInVcf \
OLD_SAMPLE_NAME=sample 50 \
Hi Bekah W,
I think the issue is coming from the space in your sample name 'sample 50'. You could try specifying the sample name with single quotes so that the program reads the name correctly. For best practices, I would not recommend having a space in your sample name, it can cause many issues when manipulating your files.
Cheers I realised it was actually just labelled 50 and not sample 50, it still didnt like this, so just removed the old name option entirely and it ran fine! Thank you, Best wishes, Bekah
Good news! Thanks for the update!
Please sign in to leave a comment.