Commit bcdaf22b authored by khalid's avatar khalid
Browse files

Deal with PE

parent 2338bd93
def get_individus():
with open(<step_name>__process_radtags_SE_inputs()["tags"], mode="r") as infile:
reader = csv.reader(infile,delimiter='\t')
return [row[-1] for row in reader]
if "<step_name>__process_radtags_SE_inputs" in globals():
with open(<step_name>__process_radtags_SE_inputs()["tags"], mode="r") as infile:
reader = csv.reader(infile,delimiter='\t')
return [row[-1] for row in reader]
else:
with open(<step_name>__process_radtags_PE_inputs()["tags"], mode="r") as infile:
reader = csv.reader(infile,delimiter='\t')
return [row[-1] for row in reader]
individus = get_individus()
#!!!!! this will override SAMPLES obtained from raw_reads ...
......
def get_individus():
with open(<step_name>__process_shortreadstags_SE_inputs()["tags"], mode="r") as infile:
reader = csv.reader(infile,delimiter='\t')
return [row[-1] for row in reader]
if "<step_name>__process_shortreadstags_SE_inputs" in globals():
with open(<step_name>__process_shortreadstags_SE_inputs()["tags"], mode="r") as infile:
reader = csv.reader(infile,delimiter='\t')
return [row[-1] for row in reader]
else:
with open(<step_name>__process_shortreadstags_PE_inputs()["tags"], mode="r") as infile:
reader = csv.reader(infile,delimiter='\t')
return [row[-1] for row in reader]
individus = get_individus()
#!!!!! this will override SAMPLES obtained from raw_reads ...
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment