Dear all,
Is there a syntax to do string replacements, e.g. reading in a sample file and replacing the path within the ngl script?
example:
samples = readlines('samplelist.txt')
#head samplelist.txt
#X204SC-Z01-F002_02/raw_data/muer1
#X204SC-Z01-F002_02/raw_data/muer2
#X204SC-Z01-F002_02/raw_data/muer3
#X204SC-Z01-F002_03/raw_data/muer4
...
current = lock1(samples)
input = load_fastq_directory(current)
RESULTS = ('muer1','muer2','muer3',...) # automatically
or out:
#X204SC-Z01-F002_02/preprocessed/muer1
#X204SC-Z01-F002_02/preprocessed/muer2
#X204SC-Z01-F002_02/preprocessed/muer3
#X204SC-Z01-F002_03/preprocessed/muer4
Best,
Ulrike