Skip to content

Commit

Permalink
launch job
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliorighi committed Oct 11, 2024
1 parent f9202be commit 5f2c2ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/map_tables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:

# Print accession, filename without extension, and full URL (second column)
print filename "\t" accession "\t" $2;
}'| head -n 10 > "$merged_table"
}' > "$merged_table"

- name: Filter Out Existing Annotations
run: |
Expand Down Expand Up @@ -106,7 +106,6 @@ jobs:
./dataformat tsv genome --fields "${{env.FIELDS}}" > "${{env.ASSEMBLY_TABLE}}"
rm "$tmp"
cat "${{env.ASSEMBLY_TABLE}}"
- name: Insert new annotations
run: |
Expand All @@ -122,12 +121,11 @@ jobs:
if (accession in assembly) { # If accession matches a line in assembly_table
# Print formatted output with new_annotations first column, full_path, and the rest of assembly_table
match(assembly[accession], /^[^\t]+\t(.+)/, arr);
print $1 "\t" full_path "\t" arr[0];
print $1 "\t" arr[0] "\t" full_path;
}
}' "$assembly_table" "$new_annotations" >> "$existing_annotations"
# Display the final output for debugging purposes
cat "$existing_annotations"
rm "$assembly_table"
rm "$new_annotations"
Expand Down
9 changes: 0 additions & 9 deletions mapped_annotations.tsv

This file was deleted.

0 comments on commit 5f2c2ee

Please sign in to comment.