Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
savvas-paragkamian committed Oct 27, 2023
1 parent 94257fd commit 4cced0f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/ena_xml_to_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Aim of this script is to transform the xml available attributes from
# ENA assigned to each sample of ISD Crete 2016 to csv.
###############################################################################
# usage:./ena_xml_to_csv.py
# usage:./scripts/ena_xml_to_csv.py
###############################################################################
import xml.etree.ElementTree as ET
import csv
Expand Down
5 changes: 3 additions & 2 deletions scripts/get_isd_crete_2016_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
###############################################################################
# GOAL:
# Aim of this script is to retrieve all available attributes from
# ENA assigned to each sample of ISD Crete 2016.
# ENA assigned to each sample of ISD Crete 2016. These are mentioned in
# filereport_read_run_PRJEB21776_tsv.txt file
###############################################################################
# usage:./get_isd_crete_2016_attributes.py
###############################################################################
Expand Down Expand Up @@ -53,7 +54,7 @@ def attr_request(accession):
def write_xml(attributes,accession):

# load to xml
newxml = "../ena_samples/" + "attributes_" + str(accession) + ".xml"
newxml = "../ena_samples_attr/" + "attributes_" + str(accession) + ".xml"

with open(newxml, "w") as xmlFile:
xmlFile.write(attributes)
Expand Down
2 changes: 1 addition & 1 deletion scripts/get_isd_crete_2016_fastq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs_accession=`gawk -F"\t" '(NR>1){split($7,fastq, ";") ; for (i in fastq){prin
~/isd-crete/ena_metadata/filereport_read_run_PRJEB21776_tsv.txt`

# go to directory
cd ~/isd-crete/ena_fastq
cd ~/isd-crete/ena_data

# for each ftp link wget and append to a log file
for i in $runs_accession
Expand Down

0 comments on commit 4cced0f

Please sign in to comment.