iu_check_not_posted

Checks if the specified record identifiers are found on the Portal or not by doing a GET request on each one. If a 404 (not found) response is returned, then this identifier is written to the specified output file.

usage: iu_check_not_posted.py [-h] [-m IGVF_MODE] -i INFILE -o OUTFILE

Named Arguments

-m, --igvf-mode

The IGVF Portal site (‘prod’, ‘sandbox’, ‘staging, or an explicit host name, i.e. ‘*.demo.igvf.org’) to connect to.

-i, --infile

Input file containing record identifiers, one per line. Any line starting with a ‘#’ will be skipped.

-o, --outfile

Output file containing a subset of the input file. Only record IDs that weren’t found on the Portal will be written to this file, one per line.